In case the old config already deactivated the newletter, it must be also
deactivated in the compatibility code.
This commit is contained in:
parent
0ff2ecce52
commit
3a0e40c7fb
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
|||
{{/* Keep backward compatibility for the newsletter function */}}
|
||||
{{ if site.Params.newsletter.enable }}
|
||||
{{ $newsletterEnabled = true }}
|
||||
{{ else }}
|
||||
{{ $newsletterEnabled = false }}
|
||||
{{ end }}
|
||||
|
||||
{{ if $footerEnabled }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue