hugo-toha/layouts/partials
Kaligule fc5656c937
Allow footer configuration (#303)
* Allow to disable the footer with params.footer.enable = false

Default is to have the footer enabled (to keep backwards
compatibility).

The diff looks much worse than it is, I just added a variable and an
if clause, but then had to indent the rest of the file.

Make footerEnabled an explicit variable.

This should improve readability.

Use default parameter for even more readability.

* Allow to enable/disable the "contact me" section in the footer.

Just set `footer.contactMe.enable` in the config. Default is true, for
backwards compatibility.

* Make footer template more consistent.

Enabling footers elements and the newsletter is now managed in the
same place.

* Allow to disable the footer navigation. Default is enabled.

* Allow to disable credentials and copyright notice. Default: enabled

* Footer: Reformat variable initialization for readability.

* Allow providing template for footer

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

Co-authored-by: hossainemruz <hossainemruz@gmail.com>
2021-05-02 03:57:19 +06:00
..
cards Accessibility and SEO improvements (#296) 2021-04-25 17:15:22 +06:00
helpers Add acomplishment section 2021-03-28 00:55:39 +06:00
misc Refactor sidebar logic + Add Table of Contents in reading page (#33) 2020-07-22 04:14:08 +06:00
navigators Fix country flag not showing in language selector (#298) 2021-04-25 18:48:49 +00:00
sections Accessibility and SEO improvements (#296) 2021-04-25 17:15:22 +06:00
disqus.html Add more i18n strings (#234) 2021-03-13 22:08:03 +06:00
footer.html Allow footer configuration (#303) 2021-05-02 03:57:19 +06:00
header.html Fix country flag not showing in language selector (#298) 2021-04-25 18:48:49 +00:00
math.html Convert single page into hugo template 2020-04-17 02:40:14 +06:00
note-aggregator.html Accessibility and SEO improvements (#296) 2021-04-25 17:15:22 +06:00
scripts.html add video shortcode (#289) 2021-04-06 01:12:28 +06:00