From 0cdce562441dfeececba12c6925a4ccaff4ed289 Mon Sep 17 00:00:00 2001 From: Thorsten Alteholz Date: Sun, 16 May 2021 20:02:18 +0200 Subject: [PATCH] In case the old config already deactivated the newletter, it must be also (#311) deactivated in the compatibility code. Co-authored-by: Thorsten Alteholz Co-authored-by: Emruz Hossain --- layouts/partials/footer.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 39f8631..c3ba9b0 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -9,6 +9,8 @@ {{/* Keep backward compatibility for the newsletter function */}} {{ if site.Params.newsletter.enable }} {{ $newsletterEnabled = true }} +{{ else }} + {{ $newsletterEnabled = false }} {{ end }} {{ if $footerEnabled }}