diff options
| author | Cristian Klein <cristian.klein@elastisys.com> | 2020-09-02 10:33:13 +0200 |
|---|---|---|
| committer | Cristian Klein <cristian.klein@elastisys.com> | 2020-09-02 10:34:42 +0200 |
| commit | 1a1d2dda0aee6ea8ba86b7f36c0405a8dbb3a46e (patch) | |
| tree | 4b3dc53766c7ef4686e388c9057415617e7478e9 /layouts/partials | |
| parent | bfc381df056ea7cc62752693a0ccf2d7431d3e76 (diff) | |
Allow overriding copyright line via .Site.Copyright
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/footer.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 19fcd6d..8ba9f44 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,5 @@ <footer> - <p>© {{ now.Year }} <a href="{{ .Site.BaseURL }}"><b>{{ .Site.Title }}</b></a>. + <p>© {{ 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 }} |