diff --git a/README.md b/README.md index 5ea8696..75df1f6 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,13 @@ params: # background image of the landing page background: "images/background.jpg" + # Provide logos for your site. The inverted logo will be used in the initial + # transparent navbar and the main logo will be used in the non-transparent navbar. + # It will be default to the theme logos if not provided. + logo: + main: /assets/images/main-logo.png + inverted: /assets/images/inverted-logo.png + # GitHub repo URL of your site gitRepo: https://github.com/hossainemruz/toha-example-site @@ -96,6 +103,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/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 @@