diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 005b519..ae42c45 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -52,6 +52,11 @@ params: - name: Notes url: https://hossainnotes.netlify.app/docs/example/ + # Provide newsletter configuration. This feature hasn't been implemented yet. + # Currently, you can just hide it from the footer. + newsletter: + enable: true + # some information about you author: name: "Jane Doe" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 3d53e0e..8a6230d 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -24,6 +24,7 @@ {{ end }} + {{ if .Site.Params.newsletter.enable }}

Stay up to date with email notification

@@ -43,6 +44,7 @@
+ {{ end }}
@@ -50,7 +52,7 @@
- + Toha