From 46ccb3181f7b6138bba98ae49a4ac1c60be9e1a7 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Thu, 9 Feb 2023 23:24:10 -0800 Subject: [PATCH] Simplify copyright --- layouts/partials/paige/footer.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/paige/footer.html b/layouts/partials/paige/footer.html index 8399ba5b..a022137d 100644 --- a/layouts/partials/paige/footer.html +++ b/layouts/partials/paige/footer.html @@ -1,6 +1,6 @@ {{ $page := . }} -{{ $copyright := site.Copyright }} +{{ $copyright := site.Copyright | markdownify }} {{ $credit := $page.Param "paige.credit.link.hide" | not }} {{ $first := templates.Exists "partials/paige/footer-first.html" }} {{ $last := templates.Exists "partials/paige/footer-last.html" }} @@ -11,8 +11,8 @@ {{ partial "paige/footer-first.html" . }} {{ end }} - {{ if $copyright }} - + {{ with $copyright }} + {{ end }} {{ if $credit }}