mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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