Add og:site_name
This commit is contained in:
parent
a2443c6391
commit
b6d8801727
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{{ $title := cond .IsHome .Site.Title (printf "%s" .Title | printf "%s%s" (cond (and (eq .Kind "term") (eq .Data.Singular "tag")) "#" "") | printf "%s") }}
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}">
|
||||
<meta property="og:title" content="{{ $title }}">
|
||||
<meta name="twitter:title" content="{{ $title }}">
|
||||
{{ with .Resources.GetMatch "{cover.*,*.jpg,*.png,*.jpeg}" }}
|
||||
|
|
Loading…
Add table
Reference in a new issue