From a479edbe9e92918fea0946bd95a9ace72826e297 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 29 Sep 2024 16:24:00 +0200 Subject: Do not check showAuthor for meta tag --- layouts/partials/head.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 0a4b02a..4e54fbf 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -8,9 +8,7 @@ - {{ $showAuthor := .Site.Params.showAuthor | default false }} - {{- $author := partial "head/author.html" . }} - {{ if (and $showAuthor (ne $author ""))}} + {{ with partial "head/author.html" . }} {{- end }} -- cgit v1.2.3