hugo-toha/layouts/_default
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
..
baseof.html Allow footer configuration (#303) 2021-05-02 03:57:19 +06:00
index.json #42 Add suppor for client-side search (#227) 2021-03-13 23:43:10 +06:00
list.html Add notes layout (#263) 2021-03-27 19:52:18 +00:00
search.html Fix various issues detected by html-proofer (#270) 2021-03-29 03:44:33 +06:00
single.html Accessibility and SEO improvements (#296) 2021-04-25 17:15:22 +06:00