mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -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 "twitter_cards.html" . }}
|
||||||
{{ partial "schema.html" . }}
|
{{ partial "schema.html" . }}
|
||||||
{{ partial "link_tags.html" . }}
|
{{ partial "link_tags.html" . }}
|
||||||
{{ partial "author-metadata.html" . }}
|
{{ partial "author_meta_tags.html" . }}
|
||||||
|
|
||||||
<meta name="language" content="{{ .Language.Lang }}">
|
<meta name="language" content="{{ .Language.Lang }}">
|
||||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
|
<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