diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5f0c315f..50244b2b 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,10 +1,8 @@ {{ if eq .Type "page" }} {{ partial "page_meta.html" . }} {{ end }} - {{- if not (isset .Site.Params.author .id) -}} - {{- if isset .Site.author .id -}} - {{ errorf "Please move [author] to [params.author]; Hugo has deprecated the former." }} - {{- end -}} + {{- if not (.Site.Params.author) and (.Site.author) -}} + {{ errorf "Please move [author] to [params.author]; Hugo has deprecated the former." }} {{- end -}}