diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-15 21:18:40 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-15 21:18:40 +0200 |
| commit | eb8a17482fc138c861db685f9efc86871bf2d7d2 (patch) | |
| tree | a092c13a4858d434340e2c683748226b0004308e /themes/danix-xyz-hacker/layouts/partials/header.html | |
| parent | 1ac2e084c2a2f2fb9d04a2bfabd1e308799ee9fc (diff) | |
| download | danixxyz-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/header.html')
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/partials/header.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/header.html b/themes/danix-xyz-hacker/layouts/partials/header.html index 3146775..2ddb2e3 100644 --- a/themes/danix-xyz-hacker/layouts/partials/header.html +++ b/themes/danix-xyz-hacker/layouts/partials/header.html @@ -1,8 +1,9 @@ <header class="sticky top-0 z-50 bg-bg2/92 backdrop-blur border-b border-border"> <nav class="container mx-auto px-4 py-4 flex items-center justify-between"> - <!-- Logo --> - <a href="{{ .Site.BaseURL }}" class="font-bold text-lg text-accent font-oxanium"> - danix + <!-- Logo and Site Name --> + <a href="{{ .Site.BaseURL }}" class="flex items-center gap-2 hover:opacity-80 transition-opacity"> + <img src="/images/lampD.png" alt="Logo" style="width: 40px; height: 40px; max-width: none;" class="flex-shrink-0"> + <span class="hidden md:inline font-bold text-lg text-accent font-oxanium">danix.xyz</span> </a> <!-- Desktop menu (hidden on mobile) --> |
