From dfa654ef8c1128e0f09dc269e3643d73ac3fa69d Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 22 Apr 2026 11:48:19 +0200 Subject: fix: breadcrumb uses actual page ancestors instead of hardcoded articles path Static pages under /is/ now show correct breadcrumb trail (eg. Home / About / Privacy). Articles still show Home / Articles / Title. Both HTML breadcrumb and JSON-LD structured data updated. --- themes/danix-xyz-hacker/layouts/partials/breadcrumb.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'themes/danix-xyz-hacker/layouts/partials/breadcrumb.html') diff --git a/themes/danix-xyz-hacker/layouts/partials/breadcrumb.html b/themes/danix-xyz-hacker/layouts/partials/breadcrumb.html index aa7c1e8..c15dfeb 100644 --- a/themes/danix-xyz-hacker/layouts/partials/breadcrumb.html +++ b/themes/danix-xyz-hacker/layouts/partials/breadcrumb.html @@ -1,14 +1,16 @@ {{ $homeLink := "/" }} -{{ $articlesLink := "/articles/" }} {{ if eq .Lang "it" }} {{ $homeLink = "/it/" }} - {{ $articlesLink = "/it/articles/" }} {{ end }} -- cgit v1.2.3