summaryrefslogtreecommitdiffstats
path: root/hugo.toml
AgeCommit message (Collapse)AuthorFilesLines
2026-04-17fix: update 404 redirect rules to point to correct language pagesDanilo M.1-2/+2
Changed redirects to route /it/** 404s to /it/404.html and /** 404s to /404.html instead of redirecting to home pages. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-17fix: use content-based 404 pages with proper language contextDanilo M.1-2/+2
Created language-specific 404 content pages (content/en/404.md and content/it/404.md) that Hugo renders with the correct language context. Updated redirect rules and created _default/404.html layout that uses i18n properly. Now .Lang is set correctly for translation strings. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-17restore: re-add 404 redirect rules to hugo.tomlDanilo M.1-3/+3
Restore the redirect rules that route /it/** and /** 404 errors to the appropriate language-specific 404 layout files. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-17fix: use language-specific 404 layouts with hardcoded stringsDanilo M.1-3/+3
Created 404.en.html and 404.it.html with fully hardcoded English and Italian text. Hugo automatically routes language-specific requests to the correct layout. No i18n, no hacks, just simple and direct. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-17fix: use client-side language detection with redirect rules for 404 navigationDanilo M.1-0/+10
Rely on hugo.toml redirect rules to serve correct 404.html and detect language from window.location.pathname in notFoundNav() Alpine component. Navigation links now properly route to Italian (/it/*) or English (/*) sections based on request URL. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Implement taxonomy system for tags and categoriesDanilo M.1-0/+5
- Enable tags and categories taxonomies in hugo.toml - Create taxonomy/list.html for archive pages (/tags, /categories) - Create taxonomy/term.html for individual term pages (/tags/example) - Add quote shortcode for quote-type articles - Both templates reuse article-list-item partial for consistent styling Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Complete multilingual theme implementation with language-aware menusDanilo M.1-19/+49
- 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>
2026-04-15Fix shortcode location: move from shortcodes/ to layouts/shortcodes/Danilo M.1-3/+3
Hugo v0.156.0+ requires shortcodes to be in layouts/shortcodes/ directory. Moved all shortcodes (gravatar, image, gallery, contact-form) to correct location. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15feat: add site configuration with bilingual setup and article typesDanilo M.1-0/+91