From d5ede89b79333e3e885f8b2e02307118ed8a7a5b Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 27 Oct 2026 21:19:00 -0700 Subject: [PATCH] json, patch the broken version offered by PaperMod, what the heck? --- layouts/_partials/templates/schema_json.html | 128 +++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 layouts/_partials/templates/schema_json.html diff --git a/layouts/_partials/templates/schema_json.html b/layouts/_partials/templates/schema_json.html new file mode 100644 index 0000000..6207ab2 --- /dev/null +++ b/layouts/_partials/templates/schema_json.html @@ -0,0 +1,128 @@ +{{ if .IsHome }} + +{{- else if (or .IsPage .IsSection) }} +{{/* BreadcrumbList */}} +{{- $url := replace .Parent.Permalink ( printf "%s" site.Home.Permalink) "" }} +{{- $lang_url := strings.TrimPrefix ( printf "%s/" .Lang) $url }} +{{- $bc_list := (split $lang_url "/")}} + +{{- $path := "" }} + +{{- if .IsPage }} + +{{- end }}{{/* .IsPage end */}} + +{{- end -}}