diff options
author | Md. Emruz Hossain <hossainemruz@gmail.com> | 2020-07-22 19:27:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 19:27:33 +0300 |
commit | 7da028e6433b8afd286b96190855df1d689d2399 (patch) | |
tree | 029297043905f492b1b5023d815b2953bae94130 /layouts | |
parent | 74bf5e99414a799181948de23d19f762c42ee7ce (diff) |
Allow hiding newsletter section from footer (#48)
* Allow hiding newsletter section from footer
* Update README.md
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer.html | 4 |
1 files changed, 3 insertions, 1 deletions
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 }} </ul> </div> + {{ if .Site.Params.newsletter.enable }} <div class="col-md-4 col-sm-12"> <!-- <h5>Newsletter</h5> --> <p>Stay up to date with email notification</p> @@ -43,6 +44,7 @@ <button type="submit" class="btn btn-info">Submit</button> </form> </div> + {{ end }} </div> </div> <hr /> @@ -50,7 +52,7 @@ <div class="row text-left"> <div class="col-md-4"> <a id="theme" href="https://github.com/hossainemruz/toha" target="#"> - <img src="/assets/images/logo-inverted.png"> + <img src="/assets/images/inverted-logo.png"> Toha </a> </div> |