mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04: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