Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/colorchestra/smol.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Klein <cristian.klein@elastisys.com>2020-09-02 11:33:13 +0300
committerCristian Klein <cristian.klein@elastisys.com>2020-09-02 11:34:42 +0300
commit1a1d2dda0aee6ea8ba86b7f36c0405a8dbb3a46e (patch)
tree4b3dc53766c7ef4686e388c9057415617e7478e9
parentbfc381df056ea7cc62752693a0ccf2d7431d3e76 (diff)
Allow overriding copyright line via .Site.Copyright
-rw-r--r--layouts/partials/footer.html2
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>&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 }}