]> danix's work - danix.xyz-2.git/commit
feat: i18n singular/plural post count on taxonomy list fix/taxonomy-layouts
authorDanilo M. <redacted>
Thu, 16 Apr 2026 10:54:14 +0000 (12:54 +0200)
committerDanilo M. <redacted>
Thu, 16 Apr 2026 10:54:14 +0000 (12:54 +0200)
commit71f577b171f6208fff7de47c7dad087955aa5fae
treea5bebf376a8f98e2e2f8312ae7a0c6bce39c4a3a
parent631505e0c403c9e2e4e5687ee121f0d1bd371b8c
feat: i18n singular/plural post count on taxonomy list

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 <redacted>
i18n/en.yaml
i18n/it.yaml
themes/danix-xyz-hacker/layouts/taxonomy/list.html