summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/taxonomy/list.html
AgeCommit message (Collapse)AuthorFilesLines
2026-04-22chore: extract theme into git submodule (danix2-hugo-theme)Danilo M.1-49/+0
2026-04-21fix: use dedicated article-card partial for taxonomy pagesDanilo M.1-2/+2
The timeline partial (article-list-item.html) always emits <li> with timeline connector and node markup — calling it with . still produces the same timeline HTML. Created article-card.html with the original <article class="card"> markup and wired taxonomy templates to use it. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-21revert: restore taxonomy templates to card-stack layout with post-count badgeDanilo M.1-26/+35
Reverts commits 79f839d (timeline applied to all list contexts). Timeline remains on /articles/ (_default/list.html). Tags and categories revert to card-stack layout with post-count badge overlay. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-21feat: use timeline container in taxonomy list and term templatesDanilo M.1-35/+26
2026-04-16feat: i18n singular/plural post count on taxonomy listfix/taxonomy-layoutsDanilo M.1-2/+2
Replace hardcoded "Posts: N" with i18n "postCount" key using Hugo's pluralization support (one/other forms). Renders "1 post" or "N posts" in English, "1 articolo" or "N articoli" in Italian. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-16feat: add article count badge to taxonomy list itemsDanilo M.1-2/+12
Each term card on the tags/categories list page now shows a count badge (top-right) with the number of articles in that term. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-16fix: restore articles to taxonomy pages and fix i18n headingsDanilo M.1-1/+9
Fixed two critical bugs in taxonomy layouts: 1. Pinned/unpinned filter was silently hiding all articles. The filter only matched pages that explicitly set pinned=false, dropping all articles that omitted the parameter (most articles have nil, not false). Added the nil/empty fallback from _default/list.html. 2. Missing i18n keys caused blank headings on some taxonomy pages: - Added 'tag' key for /tags/term/ pages - Added 'categories' key for /categories/ list page 3. Harmonized spacing with main article list for visual consistency: Changed from space-y-2 max-w-2xl to space-y-6 max-w-3xl Changes: - i18n/en.yaml: Added 'tag' and 'categories' keys - i18n/it.yaml: Added 'tag' and 'categories' keys - taxonomy/list.html: Added nil fallback + spacing fix - taxonomy/term.html: Added nil fallback + spacing fix Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Implement taxonomy system for tags and categoriesDanilo M.1-0/+31
- 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>