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

Patrick Kollitsch
8 hours ago 804d93a7a98f2fead5e905801c6fc1f42596a27c
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Friday, November 20, 2026 11:14 +0100
committer Patrick Kollitsch <83281+davidsneighbour@users.noreply.github.com>
Friday, November 20, 2026 11:49 +0100
commit804d93a7a98f2fead5e905801c6fc1f42596a27c
tree 8c38c54b50466cd7b1a88880b072c2bb0a18a0fb tree | zip | gz
parent 4f9b512caf0b6395b6a0e91a3fbaf406787230c0 view | diff
feat(header): rework header and navigation

Add configurable header components, hooks, submenu modes, and mobile navigation. Preserve legacy overrides with migration warnings and honour page-level navigation classes.
44 files modified
30 files added
2616 ■■■■■ changed files
CONTRIBUTING.md 2 ●●●●● diff | view | raw | blame | history
assets/ananke/css/_styles.css 234 ●●●●● diff | view | raw | blame | history
assets/ananke/css/navigation-classes.css 187 ●●●●● diff | view | raw | blame | history
config/_default/params.toml 46 ●●●●● diff | view | raw | blame | history
i18n/bg.toml 5 ●●●●● diff | view | raw | blame | history
i18n/ca.toml 3 ●●●●● diff | view | raw | blame | history
i18n/cs.toml 3 ●●●●● diff | view | raw | blame | history
i18n/cy.toml 3 ●●●●● diff | view | raw | blame | history
i18n/de.toml 3 ●●●●● diff | view | raw | blame | history
i18n/en.toml 9 ●●●●● diff | view | raw | blame | history
i18n/es.toml 3 ●●●●● diff | view | raw | blame | history
i18n/fi.toml 3 ●●●●● diff | view | raw | blame | history
i18n/fr.toml 5 ●●●●● diff | view | raw | blame | history
i18n/he.toml 3 ●●●●● diff | view | raw | blame | history
i18n/hi.toml 5 ●●●●● diff | view | raw | blame | history
i18n/hu.toml 5 ●●●●● diff | view | raw | blame | history
i18n/id.toml 3 ●●●●● diff | view | raw | blame | history
i18n/it.toml 5 ●●●●● diff | view | raw | blame | history
i18n/ja.toml 3 ●●●●● diff | view | raw | blame | history
i18n/nl.toml 5 ●●●●● diff | view | raw | blame | history
i18n/no.toml 3 ●●●●● diff | view | raw | blame | history
i18n/oc.toml 3 ●●●●● diff | view | raw | blame | history
i18n/pl.toml 3 ●●●●● diff | view | raw | blame | history
i18n/pt.toml 5 ●●●●● diff | view | raw | blame | history
i18n/ru.toml 5 ●●●●● diff | view | raw | blame | history
i18n/sv.toml 3 ●●●●● diff | view | raw | blame | history
i18n/tr.toml 5 ●●●●● diff | view | raw | blame | history
i18n/uk.toml 5 ●●●●● diff | view | raw | blame | history
i18n/zh-tw.toml 5 ●●●●● diff | view | raw | blame | history
i18n/zh.toml 5 ●●●●● diff | view | raw | blame | history
layouts/404.html 5 ●●●●● diff | view | raw | blame | history
layouts/_partials/func/debug-cli.html 39 ●●●●● diff | view | raw | blame | history
layouts/_partials/func/header/GetMenuCurrent.html 15 ●●●●● diff | view | raw | blame | history
layouts/_partials/func/header/GetNavigationClasses.html 28 ●●●●● diff | view | raw | blame | history
layouts/_partials/func/header/GetSubmenuMode.html 14 ●●●●● diff | view | raw | blame | history
layouts/_partials/func/header/IncludeChecked.html 30 ●●●●● diff | view | raw | blame | history
layouts/_partials/header/component.html 38 ●●●●● diff | view | raw | blame | history
layouts/_partials/header/content.html 17 ●●●●● diff | view | raw | blame | history
layouts/_partials/header/menu-toggle-icon.html 2 ●●●●● diff | view | raw | blame | history
layouts/_partials/header/submenu-icon.html 2 ●●●●● diff | view | raw | blame | history
layouts/_partials/header/submenu.html 40 ●●●●● diff | view | raw | blame | history
layouts/_partials/hooks/header/description.html 23 ●●●●● diff | view | raw | blame | history
layouts/_partials/hooks/header/languages.html 5 ●●●●● diff | view | raw | blame | history
layouts/_partials/hooks/header/logo.html 12 ●●●●● diff | view | raw | blame | history
layouts/_partials/hooks/header/menu.html 2 ●●●●● diff | view | raw | blame | history
layouts/_partials/hooks/header/social.html 5 ●●●●● diff | view | raw | blame | history
layouts/_partials/hooks/header/title.html 15 ●●●●● diff | view | raw | blame | history
layouts/_partials/navigation/menu.html 68 ●●●●● diff | view | raw | blame | history
layouts/_partials/page-header.html 15 ●●●●● diff | view | raw | blame | history
layouts/_partials/site-header.html 27 ●●●●● diff | view | raw | blame | history
layouts/_partials/site-navigation.html 116 ●●●●● diff | view | raw | blame | history
layouts/_partials/site-scripts.html 216 ●●●●● diff | view | raw | blame | history
layouts/baseof.html 3 ●●●●● diff | view | raw | blame | history
layouts/page/single.html 5 ●●●●● diff | view | raw | blame | history
layouts/single.html 3 ●●●●● diff | view | raw | blame | history
scripts/test-hugo-quickstart.ts 100 ●●●●● diff | view | raw | blame | history
tests/catalog.yaml 26 ●●●●● diff | view | raw | blame | history
tests/coverage-gate.mjs 27 ●●●●● diff | view | raw | blame | history
tests/e2e/accessibility.spec.ts 50 ●●●●● diff | view | raw | blame | history
tests/e2e/header.spec.ts 151 ●●●●● diff | view | raw | blame | history
tests/e2e/navigation-modes.spec.ts 441 ●●●●● diff | view | raw | blame | history
tests/e2e/navigation.spec.ts 351 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/content/featured.md 7 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/content/header-layout/_index.md 12 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/content/navigation-modes/_index.md 11 ●●●●● 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 10 ●●●●● 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/content/posts/hello.md 4 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/hugo.toml 50 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/layouts/_partials/hooks/body-end.html 14 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/layouts/_partials/hooks/header/search.html 10 ●●●●● diff | view | raw | blame | history