In case the old config already deactivated the newletter, it must be also

deactivated in the compatibility code.
This commit is contained in:
Thorsten Alteholz 2021-05-14 15:31:31 +00:00
parent 0ff2ecce52
commit 3a0e40c7fb

View file

@ -8,6 +8,8 @@
{{/* Keep backward compatibility for the newsletter function */}}
{{ if site.Params.newsletter.enable }}
{{ $newsletterEnabled = true }}
{{ else }}
{{ $newsletterEnabled = false }}
{{ end }}
{{ if $footerEnabled }}