mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 20:11:37 +01:00
head: show title insted of description
on non-home pages
This commit is contained in:
parent
11226ff1fe
commit
26aa913367
@ -8,7 +8,7 @@
|
|||||||
<meta name="description" content="{{ .Summary }}">
|
<meta name="description" content="{{ .Summary }}">
|
||||||
<meta name="author" content="{{ .Params.author | default .Site.Params.author }}">
|
<meta name="author" content="{{ .Params.author | default .Site.Params.author }}">
|
||||||
{{- else }}
|
{{- else }}
|
||||||
<meta name="description" content="{{ .Site.Params.description }}">
|
<meta name="description" content="{{if .IsHome}}{{ .Site.Params.description }}{{else}}{{ .Title }}{{end}}">
|
||||||
<meta name="author" content="{{ .Site.Params.author }}">
|
<meta name="author" content="{{ .Site.Params.author }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ if .Site.Params.analytics.google.SiteVerificationTag }}
|
{{ if .Site.Params.analytics.google.SiteVerificationTag }}
|
||||||
|
Loading…
Reference in New Issue
Block a user