From: Danilo M. Date: Wed, 22 Apr 2026 09:48:19 +0000 (+0200) Subject: fix: breadcrumb uses actual page ancestors instead of hardcoded articles path X-Git-Tag: release_22042026-1342~9 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=dfa654ef8c1128e0f09dc269e3643d73ac3fa69d;p=danix.xyz-2.git 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. --- 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 -}}