소스 검색

add meta tag

SyuanYu 2 년 전
부모
커밋
ff247cae08
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      themes/hugo-bootstrap-5/layouts/partials/head.html

+ 2 - 0
themes/hugo-bootstrap-5/layouts/partials/head.html

@@ -11,6 +11,8 @@
 <meta charset="utf-8">
 <meta http-equiv="x-ua-compatible" content="ie=edge">
 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+<meta name="author" content="{{ .Site.Title }}">
+<meta property="og:site_name" content="{{ .Site.Title }}">
 
 {{ template "_internal/opengraph.html" . }}
 {{ template "_internal/twitter_cards.html" . }}