summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/partials
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-22 11:51:45 +0200
committerDanilo M. <danix@danix.xyz>2026-04-22 11:51:45 +0200
commit97ded5db20bd901ef48b1f50abf5f7dc83e667bd (patch)
tree928c5bfb68bf4ee6b81c1edcf47a9d42bcb6d7e2 /themes/danix-xyz-hacker/layouts/partials
parentdfa654ef8c1128e0f09dc269e3643d73ac3fa69d (diff)
downloaddanixxyz-97ded5db20bd901ef48b1f50abf5f7dc83e667bd.tar.gz
danixxyz-97ded5db20bd901ef48b1f50abf5f7dc83e667bd.zip
fix: add breadcrumb to /is/ and /repository/ list pages in both languages
Section list templates (is/list.html, repository/list.html) were missing the breadcrumb partial. Also extended JSON-LD breadcrumb generation to include section-kind pages, not just single pages.
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/partials')
-rw-r--r--themes/danix-xyz-hacker/layouts/partials/head-meta.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/head-meta.html b/themes/danix-xyz-hacker/layouts/partials/head-meta.html
index 89b5d50..34a60e2 100644
--- a/themes/danix-xyz-hacker/layouts/partials/head-meta.html
+++ b/themes/danix-xyz-hacker/layouts/partials/head-meta.html
@@ -53,5 +53,5 @@
{{ end }}
{{ end }}
-{{/* Structured data: BreadcrumbList JSON-LD (single content pages only) */}}
-{{ if eq .Kind "page" }}{{ partial "breadcrumb-jsonld.html" . }}{{ end }}
+{{/* Structured data: BreadcrumbList JSON-LD (single pages and named sections) */}}
+{{ if or (eq .Kind "page") (eq .Kind "section") }}{{ partial "breadcrumb-jsonld.html" . }}{{ end }}