Allow hiding newsletter section from footer
This commit is contained in:
parent
74bf5e9941
commit
da92162264
2 changed files with 8 additions and 1 deletions
|
@ -52,6 +52,11 @@ params:
|
||||||
- name: Notes
|
- name: Notes
|
||||||
url: https://hossainnotes.netlify.app/docs/example/
|
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
|
# some information about you
|
||||||
author:
|
author:
|
||||||
name: "Jane Doe"
|
name: "Jane Doe"
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{{ if .Site.Params.newsletter.enable }}
|
||||||
<div class="col-md-4 col-sm-12">
|
<div class="col-md-4 col-sm-12">
|
||||||
<!-- <h5>Newsletter</h5> -->
|
<!-- <h5>Newsletter</h5> -->
|
||||||
<p>Stay up to date with email notification</p>
|
<p>Stay up to date with email notification</p>
|
||||||
|
@ -43,6 +44,7 @@
|
||||||
<button type="submit" class="btn btn-info">Submit</button>
|
<button type="submit" class="btn btn-info">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
|
@ -50,7 +52,7 @@
|
||||||
<div class="row text-left">
|
<div class="row text-left">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<a id="theme" href="https://github.com/hossainemruz/toha" target="#">
|
<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
|
Toha
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue