summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-15 21:18:40 +0200
committerDanilo M. <danix@danix.xyz>2026-04-15 21:18:40 +0200
commiteb8a17482fc138c861db685f9efc86871bf2d7d2 (patch)
treea092c13a4858d434340e2c683748226b0004308e /themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html
parent1ac2e084c2a2f2fb9d04a2bfabd1e308799ee9fc (diff)
downloaddanixxyz-eb8a17482fc138c861db685f9efc86871bf2d7d2.tar.gz
danixxyz-eb8a17482fc138c861db685f9efc86871bf2d7d2.zip
Complete multilingual theme implementation with language-aware menus
- Refactor hugo.toml to define menus separately for each language using pageRef - Simplify header and hamburger-menu templates to use Hugo-native language handling - Update content structure with proper language prefix organization - Remove JavaScript language-switcher in favor of Hugo's native approach - Add new layout templates for /is/ section with list view - Update HANDOFF.md with current implementation status - Rebuild minified CSS with updated template changes Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html15
1 files changed, 0 insertions, 15 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html b/themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html
index ee80d20..bdcbca9 100644
--- a/themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html
+++ b/themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html
@@ -30,9 +30,6 @@
{{ end }}
</nav>
- <!-- Divider -->
- <div class="border-t border-border/30 mx-6"></div>
-
<!-- Language switcher -->
<div class="p-6">
<div class="text-sm text-text-dim mb-3">{{ i18n "language" }}</div>
@@ -55,7 +52,6 @@
{{ end }}
{{ end }}
<a
- data-lang-switch="{{ $langCode }}"
href="{{ $url }}"
class="flex-1 py-2 px-3 text-center rounded transition-colors {{ if $current }}bg-accent text-white{{ else }}bg-surface hover:bg-surface/80{{ end }}"
>
@@ -65,17 +61,6 @@
</div>
</div>
- <!-- Theme toggle -->
- <div class="p-6 border-t border-border/30">
- <button
- id="theme-toggle"
- @click="closeMenu()"
- class="w-full py-3 px-4 bg-surface hover:bg-surface/80 rounded flex items-center justify-center gap-2 transition-colors"
- >
- <i data-feather="moon" class="w-4 h-4"></i>
- <span>{{ i18n "toggleTheme" }}</span>
- </button>
- </div>
</div>
</div>