summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html4
1 files changed, 1 insertions, 3 deletions
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 @@
<meta name="description" content="{{ partial "description.html" . }}">
<meta name="keywords" content="{{ delimit (partial "keywords.html" .) ", " }}">
- {{ $showAuthor := .Site.Params.showAuthor | default false }}
- {{- $author := partial "head/author.html" . }}
- {{ if (and $showAuthor (ne $author ""))}}
+ {{ with partial "head/author.html" . }}
<meta name="author" content="{{ $author }}">
{{- end }}