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. --- .../layouts/partials/breadcrumb-jsonld.html | 25 ++++++++++++---------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'themes/danix-xyz-hacker/layouts/partials/breadcrumb-jsonld.html') diff --git a/themes/danix-xyz-hacker/layouts/partials/breadcrumb-jsonld.html b/themes/danix-xyz-hacker/layouts/partials/breadcrumb-jsonld.html index 3f873a0..95b5e69 100644 --- a/themes/danix-xyz-hacker/layouts/partials/breadcrumb-jsonld.html +++ b/themes/danix-xyz-hacker/layouts/partials/breadcrumb-jsonld.html @@ -1,10 +1,7 @@ {{- $homeURL := absURL "/" -}} -{{- $articlesURL := absURL "/articles/" -}} {{- $homeName := i18n "home" -}} -{{- $articlesName := i18n "articles" -}} {{- if eq .Lang "it" -}} {{- $homeURL = absURL "/it/" -}} - {{- $articlesURL = absURL "/it/articles/" -}} {{- end -}}