Allow overriding copyright line via .Site.Copyright

This commit is contained in:
Cristian Klein 2020-09-02 10:33:13 +02:00
parent bfc381df05
commit 1a1d2dda0a
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<footer>
<p>&copy; {{ now.Year }} <a href="{{ .Site.BaseURL }}"><b>{{ .Site.Title }}</b></a>.
<p>&copy; {{ now.Year }} <a href="{{ .Site.BaseURL }}"><b>{{ if .Site.Copyright }}{{ .Site.Copyright }}{{ else }}{{ .Site.Title }}{{ end }}</b></a>.
{{- range .Site.Menus.footer }}
<a href="{{ .URL }}"><b>{{ .Name }}</b></a>.
{{- end }}