From 0dbc13ad789b25a5ec21b0c5229199845f74d601 Mon Sep 17 00:00:00 2001 From: Maik de Kruif Date: Sun, 14 Nov 2021 21:46:29 +0100 Subject: [PATCH] Fix author on regular pages --- themes/maik-blog/layouts/partials/meta-tags.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/maik-blog/layouts/partials/meta-tags.html b/themes/maik-blog/layouts/partials/meta-tags.html index f907dce..df3d542 100644 --- a/themes/maik-blog/layouts/partials/meta-tags.html +++ b/themes/maik-blog/layouts/partials/meta-tags.html @@ -1,6 +1,6 @@ + content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ with .Site.Author.name }}{{ . }} {{ end }}{{ end }}"> + content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ with .Site.Author.name }}{{ . }} {{ end }}{{ end }}"> {{- if isset .Params "date" }}