From 3a0e40c7fb5c0c1ef766b1b8bfb649670a1db240 Mon Sep 17 00:00:00 2001 From: Thorsten Alteholz Date: Fri, 14 May 2021 15:31:31 +0000 Subject: [PATCH] In case the old config already deactivated the newletter, it must be also deactivated in the compatibility code. --- layouts/partials/footer.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a20f226..0ab8113 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -8,6 +8,8 @@ {{/* Keep backward compatibility for the newsletter function */}} {{ if site.Params.newsletter.enable }} {{ $newsletterEnabled = true }} +{{ else }} + {{ $newsletterEnabled = false }} {{ end }} {{ if $footerEnabled }}