diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-15 17:33:26 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-15 17:33:26 +0200 |
| commit | dfe3cc3b9850866202f0cfb20c9b9029c975a322 (patch) | |
| tree | e31e41022a5ed9cda27bad2881f74ad7a61c285a /content/it/is/_index.md | |
| parent | d6455752935d0beb710df9e428837a09d4c8fdc1 (diff) | |
| download | danixxyz-dfe3cc3b9850866202f0cfb20c9b9029c975a322.tar.gz danixxyz-dfe3cc3b9850866202f0cfb20c9b9029c975a322.zip | |
Fix language switcher to preserve current page path
- Update language switcher to translate current page path instead of redirecting to root
- When switching languages, preserve the page you're on (e.g., /articles/ → /it/articles/)
- Works for both desktop header and mobile hamburger menu
- Uses Hugo's string functions to manipulate URL paths
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'content/it/is/_index.md')
0 files changed, 0 insertions, 0 deletions
