diff --git a/layouts/partials/templates/schema_json.html b/layouts/partials/templates/schema_json.html index 5cf407ec..6e71082e 100644 --- a/layouts/partials/templates/schema_json.html +++ b/layouts/partials/templates/schema_json.html @@ -16,7 +16,46 @@ ] } -{{- else if .IsPage }} +{{- else if (or .IsPage .IsSection) }} +{{/* BreadcrumbList */}} +{{- $url := replace .Parent.Permalink ( printf "%s" .Site.BaseURL) "" }} +{{- $lang_url := replace $url ( printf "%s" .Lang) "" }} +{{- $bc_list := (split $lang_url "/")}} + +{{- $scratch := newScratch }} + +{{- if .IsPage }} +{{ end }}{{/* .IsPage end */}} + {{ end }}