mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 10:31:39 +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="author" content="{{ .Params.author | default .Site.Params.author }}">
|
||||
{{- 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 }}">
|
||||
{{- end }}
|
||||
{{ if .Site.Params.analytics.google.SiteVerificationTag }}
|
||||
|
Loading…
Reference in New Issue
Block a user