mirror of https://github.com/lxndrblz/anatole.git

Mario Rimann
16 hours ago 42b3cb29f49a6787c2147233a0598d16c6c7cf77
refs
author Mario Rimann <mario@rimann.org>
Sunday, October 11, 2026 10:38 +0200
committer GitHub <noreply@github.com>
Sunday, October 11, 2026 10:38 +0200
commit42b3cb29f49a6787c2147233a0598d16c6c7cf77
tree bc5eff674796144432841947cbe3a4edfb9c4ed3 tree | zip | gz
parent 773bbc8bfdf2355a8793230b142ac9c33706301b view | diff
fix: remove duplicate inclusion of the footer.html (#591)

* Remove duplicate inclusion of the footer.html

* fix: render footer scripts once while keeping mobile footer

Restore the base footer include (only visible on mobile) and move the
medium-zoom and analytics includes from footer.html into baseof.html,
so they are emitted once per page instead of once per footer instance.

Fixes #574

---------

Co-authored-by: Markus Bilz <github@markusbilz.com>
2 files modified
15 ■■■■■ changed files
layouts/_default/baseof.html 8 ●●●●● diff | view | raw | blame | history
layouts/partials/footer.html 7 ●●●●● diff | view | raw | blame | history