diff options
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/head.html | 4 |
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 }} |
