In case the old config already deactivated the newletter, it must be also (#311)
deactivated in the compatibility code. Co-authored-by: Thorsten Alteholz <thorsten@alteholz.de> Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
parent
5798312a92
commit
0cdce56244
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,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