mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
6 hours ago 7e54b1c5ae101e10700f594569e537a14694c6a7
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Friday, November 20, 2026 10:08 +0100
committer Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Friday, November 20, 2026 10:08 +0100
commit7e54b1c5ae101e10700f594569e537a14694c6a7
tree a2d03ab6c31c45a0fb4f8553dd80bf692a10ee70 tree | zip | gz
parent 93eae518b4b4378aea8453a4f444f8c1f61de400 view | diff
feat(navigation): add configurable submenu modes

Support split, hover, click, and toplevel modes with per-call overrides. Keep mobile navigation behind one hamburger with expanded, indented child lists, and preserve focus across layout changes.
14 files modified
10 files added
842 ■■■■■ changed files
assets/ananke/css/_styles.css 38 ●●●●● diff | view | raw | blame | history
assets/ananke/css/navigation-classes.css 21 ●●●●● diff | view | raw | blame | history
config/_default/params.toml 9 ●●●●● diff | view | raw | blame | history
i18n/en.toml 3 ●●●●● diff | view | raw | blame | history
layouts/_partials/func/header/GetSubmenuMode.html 14 ●●●●● diff | view | raw | blame | history
layouts/_partials/header/component.html 2 ●●●●● diff | view | raw | blame | history
layouts/_partials/header/submenu.html 13 ●●●●● diff | view | raw | blame | history
layouts/_partials/hooks/header/menu.html 51 ●●●●● diff | view | raw | blame | history
layouts/_partials/navigation/menu.html 68 ●●●●● diff | view | raw | blame | history
layouts/_partials/site-navigation.html 4 ●●●●● diff | view | raw | blame | history
layouts/_partials/site-scripts.html 106 ●●●●● diff | view | raw | blame | history
tests/catalog.yaml 2 ●●●●● diff | view | raw | blame | history
tests/coverage-gate.mjs 6 ●●●●● diff | view | raw | blame | history
tests/e2e/accessibility.spec.ts 4 ●●●●● diff | view | raw | blame | history
tests/e2e/navigation-modes.spec.ts 422 ●●●●● diff | view | raw | blame | history
tests/e2e/navigation.spec.ts 14 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/content/navigation-modes/_index.md 9 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/content/navigation-modes/click.md 5 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/content/navigation-modes/hover.md 8 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/content/navigation-modes/invalid.md 8 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/content/navigation-modes/local.md 9 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/content/navigation-modes/toplevel.md 8 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/hugo.toml 4 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/layouts/_partials/hooks/body-end.html 14 ●●●●● diff | view | raw | blame | history