Skip to content

Commit

Permalink
Update footer.html
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Jul 10, 2024
1 parent 86e5576 commit 0890756
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -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 -}}
<footer>
<div class="container">
Expand Down

0 comments on commit 0890756

Please sign in to comment.