Allow hiding newsletter section from footer (#48)

* Allow hiding newsletter section from footer

* Update README.md
This commit is contained in:
Md. Emruz Hossain 2020-07-22 22:27:33 +06:00 committed by GitHub
parent 74bf5e9941
commit 7da028e643
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

View file

@ -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>