summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/site-author.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/site-author.html b/layouts/partials/site-author.html
index 1ddd06c..cd6dbf4 100644
--- a/layouts/partials/site-author.html
+++ b/layouts/partials/site-author.html
@@ -29,6 +29,7 @@ For more information, see: https://github.com/gohugoio/hugo/releases/tag/v0.124.
{{- $siteAuthor = merge $siteAuthor site.Params.author -}}
{{- else if site.Author -}}
{{- $siteAuthor = merge $siteAuthor site.Author -}}
+ {{- warnf "The author key in site configuration is deprecated. Use site.params.author instead." }}
{{- end -}}
{{- return $siteAuthor -}}