소스 검색

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>
Thorsten Alteholz 4 년 전
부모
커밋
0cdce56244
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      layouts/partials/footer.html

+ 2 - 0
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 }}