summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-10-25 12:47:09 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-10-25 12:47:09 +0530
commit5b9eaac1306044922f0a9ec3806a786a0cdd036f (patch)
tree36d5d62dd9e3810c70a0cff89d92f7f31abc981e /layouts/partials/head.html
parentbc2b82c370be7a5554cd886033b3e3e0d21bdea2 (diff)
layouts: use author partial in head and post_meta
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 48b5d35..af7ac9d 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -10,7 +10,7 @@
<meta name="description" content="{{- with .Description }}{{ . }}{{- else }}{{- if .IsPage}}
{{- .Summary | default (printf "%s - %s" .Title .Site.Title) }}{{- else }}
{{- with .Site.Params.description }}{{ . }}{{- end }}{{- end }}{{- end -}}">
-<meta name="author" content="{{ .Params.author | default .Site.Params.author }}">
+<meta name="author" content="{{ (partial "author.html" . ) }}">
<link rel="canonical" href="{{ .Permalink }}" />
{{- if .Site.Params.analytics.google.SiteVerificationTag }}
<meta name="google-site-verification" content="{{ .Site.Params.analytics.google.SiteVerificationTag }}" />