From 40012a73c690cb6cc68ae097647903578f724409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8hannes=20Lippmann?= Date: Wed, 28 Apr 2021 12:09:24 +0200 Subject: [PATCH] Allow to disable credentials and copyright notice. Default: enabled --- layouts/partials/footer.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2e29720..f7e075f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,6 +2,7 @@ {{ $navigationEnabled := site.Params.footer.navigation.enable | default true }} {{ $contactMeEnabled := site.Params.footer.contactMe.enable | default true }} {{ $newsLetterEnabled := site.Params.newsletter.enable }} +{{ $credentialsEnabled := site.Params.footer.credentials.enable | default true }} {{ if $footerEnabled }} {{ $author:= site.Data.author }} @@ -95,6 +96,7 @@ {{ end }} + {{ if $credentialsEnabled }}
@@ -116,5 +118,6 @@
+ {{ end }} {{end}}