From cfb6c0668d8303982779b4a2687031eafccb90df Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 8 May 2026 18:47:08 +0200 Subject: Add Blog link to nav and fix Hugo deprecation warnings - Add external Blog menu entry (danix.xyz) via Hugo menus system - Wire nav.html to render Site.Menus.main with external link support - Replace deprecated languageName with label in hugo.toml - Replace deprecated .Language.LanguageName with .Language.Label in nav.html - Add CLAUDE.md with project guidance Co-Authored-By: Claude Sonnet 4.6 --- hugo.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'hugo.toml') diff --git a/hugo.toml b/hugo.toml index 773b000..7c019d1 100644 --- a/hugo.toml +++ b/hugo.toml @@ -20,9 +20,16 @@ defaultContentLanguageInSubdir = false description = "Cybersecurity Specialist and eJPT-certified Penetration Tester helping companies secure networks, apps, and systems." og_image = "/img/og-cover.jpg" # 1200×630 social sharing image — create this file +[[menus.main]] + name = "Blog" + url = "https://danix.xyz" + weight = 80 + [menus.main.params] + external = true + [languages] [languages.en] - languageName = "EN" + label = "EN" weight = 1 contentDir = "content/en" title = "Danilo Macrì — Cybersecurity Specialist" @@ -31,7 +38,7 @@ defaultContentLanguageInSubdir = false cv = "/files/Danilo Macri - EN.pdf" og_locale = "en_GB" [languages.it] - languageName = "IT" + label = "IT" weight = 2 contentDir = "content/it" title = "Danilo Macrì — Specialista in Cybersecurity" -- cgit v1.2.3