From b6c2f69c7462096903dd9449f584ddcdb27ff894 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 13:06:59 +0200 Subject: chore: bump theme submodule (adaptive repo grid) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 2bb1029..346f48d 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 2bb102971ce560e5e72fc5dca53916f94570efa7 +Subproject commit 346f48df3950901be42ee2b8d23350ad3ac925f5 -- cgit v1.2.3 From eb39ee18b97eed210fa9857d7c3de063512755a7 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 13:45:45 +0200 Subject: chore: bump theme submodule (fix repo grid auto-fill) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 346f48d..708682f 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 346f48df3950901be42ee2b8d23350ad3ac925f5 +Subproject commit 708682f017fb0f6a1293bc0a422872c95025aa6d -- cgit v1.2.3 From 676dc97fba9a8f6b464f83c4725c7ef89f345ea5 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 13:49:27 +0200 Subject: chore: bump theme submodule (CSS rebuild) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 708682f..6735528 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 708682f017fb0f6a1293bc0a422872c95025aa6d +Subproject commit 6735528b9e3e9cffcbeef37bddba0e225dba9c9e -- cgit v1.2.3 From fd5fe082fdd77ac1c1bd4caefe6926aba654673e Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 13:56:09 +0200 Subject: chore: bump theme submodule (center cards with justify-items) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 6735528..e5a0d0f 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 6735528b9e3e9cffcbeef37bddba0e225dba9c9e +Subproject commit e5a0d0fe9546f2b367ba2590fe93b13b34329062 -- cgit v1.2.3 From 5f331f571dce8e3aa2c505f52452baac7ebd233f Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 13:57:26 +0200 Subject: chore: bump theme submodule (single repo centering fix) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index e5a0d0f..415c548 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit e5a0d0fe9546f2b367ba2590fe93b13b34329062 +Subproject commit 415c548b31e3d7e8f567d16b0d9b305a4cc3f214 -- cgit v1.2.3 From 51ede0bd00d5e7a13de999d0ce34c490f4c9ea20 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 13:59:02 +0200 Subject: chore: bump theme submodule (fix template syntax) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 415c548..d2afde3 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 415c548b31e3d7e8f567d16b0d9b305a4cc3f214 +Subproject commit d2afde3518e48f21444b61fd6ccf9e50cc0508c0 -- cgit v1.2.3 From f2af8eb58e40db044870324fd480a11dd9e3d452 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 14:01:02 +0200 Subject: chore: bump theme submodule (auto-fit fix) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index d2afde3..175d0fa 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit d2afde3518e48f21444b61fd6ccf9e50cc0508c0 +Subproject commit 175d0fa86ae8cdb78d35e84928655b5324cbc66e -- cgit v1.2.3 From f7079a68895bd01bebebad97b3966d620904278c Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 19:08:00 +0200 Subject: chore: bump theme submodule (deprecation API fixes + acronym shortcode) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 175d0fa..78aec78 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 175d0fa86ae8cdb78d35e84928655b5324cbc66e +Subproject commit 78aec78d7c5977ee4367093b1fd6910e6c6b6cb4 -- cgit v1.2.3 From a80dec4d921def1c27118a48f136830d8d8cec4f Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 21:10:01 +0200 Subject: chore: bump theme submodule (article stats widget) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 78aec78..8baed34 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 78aec78d7c5977ee4367093b1fd6910e6c6b6cb4 +Subproject commit 8baed345eb1489f378db1a5e0768b25c7c25659a -- cgit v1.2.3 From 818bce65a811b378ab2a1f27a6b2e931c5f0ff12 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 21:14:08 +0200 Subject: chore: bump theme submodule (a11y + badge fixes) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 8baed34..db27bd6 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 8baed345eb1489f378db1a5e0768b25c7c25659a +Subproject commit db27bd6602da9cb3d00cd24bf7e4bdb1db1d2bdd -- cgit v1.2.3 From 14550858cf48bf8280765757cfc8c5c7c323aa80 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 29 Apr 2026 11:44:30 +0200 Subject: chore: bump theme submodule (consolidate article metadata) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index db27bd6..46cefbb 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit db27bd6602da9cb3d00cd24bf7e4bdb1db1d2bdd +Subproject commit 46cefbb27e2b0954c3a8c695354ede751847c4e7 -- cgit v1.2.3 From f40384d33385de8cce9cad04860e58266eacd4c4 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 29 Apr 2026 11:59:18 +0200 Subject: chore: bump theme submodule (fix top nav border) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 46cefbb..d028aec 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 46cefbb27e2b0954c3a8c695354ede751847c4e7 +Subproject commit d028aeced2049b753f126ec70fad7d73449b7516 -- cgit v1.2.3 From 1e906eba8e27b4f554606a49fb11001c20abc427 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 29 Apr 2026 12:25:17 +0200 Subject: feat: obsolete article banner — submodule bump + i18n overrides MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/en.yaml | 7 ++++++- i18n/it.yaml | 7 ++++++- themes/danix-xyz-hacker | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) (limited to 'themes/danix-xyz-hacker') diff --git a/i18n/en.yaml b/i18n/en.yaml index 89b9b22..65a5b1a 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -45,7 +45,7 @@ readingTime: "reading time" min: "min" author: "Author" words: "words" -articleStats: "article" +articleStats: "stat" category: "Category" categories: "Categories" tag: "Tag" @@ -59,6 +59,11 @@ postCount: one: "1 post" other: "{{ . }} posts" +# Obsolete articles +obsolete_label: "Obsolete article" +obsolete_warning: "This article is outdated and may no longer be accurate." +obsolete_read_updated: "Read the updated version" + # Article types life: "Life" photo: "Photo" diff --git a/i18n/it.yaml b/i18n/it.yaml index c1df1ad..3e4a7a4 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -45,7 +45,7 @@ readingTime: "tempo di lettura" min: "min" author: "Autore" words: "parole" -articleStats: "articolo" +articleStats: "stat" category: "Categoria" categories: "Categorie" tag: "Tag" @@ -59,6 +59,11 @@ postCount: one: "1 articolo" other: "{{ . }} articoli" +# Obsolete articles +obsolete_label: "Articolo obsoleto" +obsolete_warning: "Questo articolo è obsoleto e potrebbe non essere più accurato." +obsolete_read_updated: "Leggi la versione aggiornata" + # Article types life: "Vita" photo: "Foto" diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index d028aec..749cb3b 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit d028aeced2049b753f126ec70fad7d73449b7516 +Subproject commit 749cb3b4dc0c5ee7b9a2622a6cb1d731ffbc5004 -- cgit v1.2.3 From 27d3ca03f3393291ad47115725252332726531d7 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 29 Apr 2026 12:30:40 +0200 Subject: chore: bump theme submodule (obsolete article banner) --- themes/danix-xyz-hacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 749cb3b..1815a96 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 749cb3b4dc0c5ee7b9a2622a6cb1d731ffbc5004 +Subproject commit 1815a9655e832a689891ee0843c8f5633a1bb4f5 -- cgit v1.2.3 From dc4eba2c6a709995a2f4718f9fb407f3057a13b8 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 29 Apr 2026 13:13:30 +0200 Subject: feat: external links in main menu — A11y new-tab label + workflow docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- WORKFLOW.md | 18 ++++++++++++++++++ i18n/en.yaml | 1 + i18n/it.yaml | 1 + themes/danix-xyz-hacker | 2 +- 4 files changed, 21 insertions(+), 1 deletion(-) (limited to 'themes/danix-xyz-hacker') diff --git a/WORKFLOW.md b/WORKFLOW.md index c95141f..13a6da3 100644 --- a/WORKFLOW.md +++ b/WORKFLOW.md @@ -83,6 +83,24 @@ The banner appears automatically below the article header. If `successor` is set Paths are Hugo permalinks — for English articles, use `/articles/slug`, not `/en/articles/slug`. +### Add an external link to the main menu + +Add a menu entry in `hugo.toml` with `params.external = true`: + +```toml +[[menus.main]] + name = "GitHub" + url = "https://github.com/youruser" + weight = 10 + [menus.main.params] + external = true +``` + +- `name` is used as-is (not looked up in i18n) +- `url` must be a full URL including scheme +- `weight` controls order relative to other menu items +- External links open in a new tab with `rel="noopener noreferrer"` and include a screen-reader-only "(opens in new tab)" label for WCAG 2.1 AA compliance + --- ## Working on the Theme diff --git a/i18n/en.yaml b/i18n/en.yaml index 65a5b1a..bf35bb4 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -10,6 +10,7 @@ toggleTheme: "Theme" toggleMenu: "Menu" closeMenu: "Close" mainMenu: "Main navigation" +opensInNewTab: "(opens in new tab)" skipToContent: "Skip to main content" email: "Email" contact: "Contact" diff --git a/i18n/it.yaml b/i18n/it.yaml index 3e4a7a4..31424ea 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -10,6 +10,7 @@ toggleTheme: "Tema" toggleMenu: "Menu" closeMenu: "Chiudi" mainMenu: "Navigazione principale" +opensInNewTab: "(si apre in una nuova scheda)" skipToContent: "Salta al contenuto principale" email: "Email" contact: "Contatti" diff --git a/themes/danix-xyz-hacker b/themes/danix-xyz-hacker index 1815a96..997ea90 160000 --- a/themes/danix-xyz-hacker +++ b/themes/danix-xyz-hacker @@ -1 +1 @@ -Subproject commit 1815a9655e832a689891ee0843c8f5633a1bb4f5 +Subproject commit 997ea90b7f85329476771e8b30a38fb86c18a07f -- cgit v1.2.3