본문 바로가기
Software Development

메타 og태그 넣는법 (opengraph, 오픈그래프 태그)

by DR BOY 2022. 12. 27.

슬랙이나 노션에서 링크를 붙여넣기할 때 og태그의 내용이 보입니다.

 

<!-- 오픈그래프 태그 -->
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://www.test.com"/>
<meta property="og:title" content="hello cloud"/>
<meta property="og:image" content="https://www.test.com/img/1.png"/>
<meta property="og:description" content="빠른 비즈니스 성장을 위한 회사임둥"/>
<meta property="og:site_name" content="hello cloud"/>

댓글