- Added language-aware breadcrumb links (IT uses /it/ subdir, EN uses root)
- Added 'home' translation key to both i18n files
- Breadcrumb now displays translated labels and correct URLs for each language
Co-Authored-By: Claude Haiku 4.5 <redacted>
# Navigation & UI
+home: "Home"
articles: "Articles"
about: "About"
here: "Contact"
# Navigation & UI
+home: "Home"
articles: "Articoli"
about: "Chi Sono"
here: "Contatti"
+{{ $homeLink := "/" }}
+{{ $articlesLink := "/articles/" }}
+{{ if eq .Lang "it" }}
+ {{ $homeLink = "/it/" }}
+ {{ $articlesLink = "/it/articles/" }}
+{{ end }}
+
<nav class="breadcrumb mb-6" aria-label="Breadcrumb">
- <a href="/">Home</a>
+ <a href="{{ $homeLink }}">{{ i18n "home" }}</a>
<span class="breadcrumb-separator">/</span>
- <a href="/articles/">Articles</a>
+ <a href="{{ $articlesLink }}">{{ i18n "articles" }}</a>
<span class="breadcrumb-separator">/</span>
<span>{{ .Title }}</span>
</nav>