diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 003e4a7..4b7a116 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,15 +1,17 @@ -{{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }} +{{ with or .Title .Site.Title | plainify }} +{{ . }} +{{ end }} {{ with resources.Get .Site.Params.favicon }} {{ end }} -{{ with .Site.Params.description }} +{{ with or .Description .Site.Params.description | plainify }} {{ end }} -{{ with .Site.Params.meta.keywords }} +{{ with or (delimit .Keywords ", ") .Site.Params.meta.keywords }} {{ end }}