mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Rename author-metadata.html to author_meta_tags.html
This commit is contained in:
parent
a11cc777bf
commit
b745f87462
9
layouts/partials/author_meta_tags.html
Normal file
9
layouts/partials/author_meta_tags.html
Normal file
@ -0,0 +1,9 @@
|
||||
{{ with .Params.authors }}
|
||||
|
||||
<meta name="author" content="{{ delimit . ", " }}">
|
||||
|
||||
{{ range . }}
|
||||
<meta property="article:author" content="{{ . }}">
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
@ -30,7 +30,7 @@
|
||||
{{ partial "twitter_cards.html" . }}
|
||||
{{ partial "schema.html" . }}
|
||||
{{ partial "link_tags.html" . }}
|
||||
{{ partial "author-metadata.html" . }}
|
||||
{{ partial "author_meta_tags.html" . }}
|
||||
|
||||
<meta name="language" content="{{ .Language.Lang }}">
|
||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
|
||||
|
Loading…
Reference in New Issue
Block a user