From b919a94098c79ae0e23aceaacc5b0e2974c729425a7126c76270f905a8d6c218 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 8 Dec 2022 00:00:00 +0000 Subject: Simplify copyright notice --- layouts/partials/footer.gmi | 3 +-- layouts/partials/footer.html | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'layouts') 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 }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8a59ca9..5f8ffc6 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,3 @@ \ No newline at end of file -- cgit v1.2.3