summaryrefslogtreecommitdiffstats
path: root/hugo.toml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-08 18:47:08 +0200
committerDanilo M. <danix@danix.xyz>2026-05-08 18:47:08 +0200
commitcfb6c0668d8303982779b4a2687031eafccb90df (patch)
tree3e43bf458ebdbc7304599342549c09584acb25df /hugo.toml
parent4a8ba8c24c95a251ac752ddc20bf8b275978128e (diff)
downloaddanixme-cfb6c0668d8303982779b4a2687031eafccb90df.tar.gz
danixme-cfb6c0668d8303982779b4a2687031eafccb90df.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml11
1 files changed, 9 insertions, 2 deletions
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"