Use the site author in copyright footer if available

This commit is contained in:
Till Hofmann 2023-06-16 12:10:54 +02:00
parent 4a924cef54
commit 6147a73803

View File

@ -3,7 +3,7 @@
{{- if site.Copyright }}
<span>{{ site.Copyright | markdownify }}</span>
{{- else }}
<span>&copy; {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ site.Title }}</a></span>
<span>&copy; {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ if site.Params.author }}{{ site.Params.author }}{{ else }}{{ site.Title }}{{ end }}</a></span>
{{- end }}
<span>
Powered by