diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2022-12-08 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2022-12-08 00:00:00 +0000 |
commit | b919a94098c79ae0e23aceaacc5b0e2974c729425a7126c76270f905a8d6c218 (patch) | |
tree | e2e4463fd0d73826449d8a1643317b9c4be88019e111fd219c08aa139111509f /layouts/partials/footer.gmi | |
parent | 95991cb07f52fd6d0c179f4e1bbaa036ef8c85ef19fee246a27010a77afdb7e8 (diff) | |
download | hugo-theme-journal-b919a94098c79ae0e23aceaacc5b0e2974c729425a7126c76270f905a8d6c218.tar.gz hugo-theme-journal-b919a94098c79ae0e23aceaacc5b0e2974c729425a7126c76270f905a8d6c218.zip |
Simplify copyright notice
Diffstat (limited to 'layouts/partials/footer.gmi')
-rw-r--r-- | layouts/partials/footer.gmi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/partials/footer.gmi b/layouts/partials/footer.gmi index 2dab362..cb45be3 100644 --- a/layouts/partials/footer.gmi +++ b/layouts/partials/footer.gmi @@ -1,2 +1 @@ -Unless otherwise noted, the writing in this journal is licensed under {{ $.Site.Copyright | safeHTML }} -Copyright {{ .Site.Params.beginCopyrightYear | safeHTML }}-{{ now.Format "2006" | safeHTML }} {{ $.Site.Author.name | safeHTML }} +{{ replace $.Site.Copyright "{currentYear}" (now.Format "2006") | safeHTML }} |