diff --git a/layouts/partials/templates/schema_json.html b/layouts/partials/templates/schema_json.html index 435cba5..3e6565d 100644 --- a/layouts/partials/templates/schema_json.html +++ b/layouts/partials/templates/schema_json.html @@ -4,7 +4,7 @@ "@context": "https://schema.org", "@type": "{{- ( site.Params.schema.publisherType | default "Organization") | title -}}", "name": {{ site.Title }}, - "url": {{ site.BaseURL }}, + "url": {{ site.Home.Permalink }}, "description": {{ site.Params.description | plainify | truncate 180 | safeHTML }}, "thumbnailUrl": {{ site.Params.assets.favicon | default "favicon.ico" | absURL }}, "sameAs": [ @@ -18,7 +18,7 @@ {{- else if (or .IsPage .IsSection) }} {{/* BreadcrumbList */}} -{{- $url := replace .Parent.Permalink ( printf "%s" site.BaseURL) "" }} +{{- $url := replace .Parent.Permalink ( printf "%s" site.Home.Permalink) "" }} {{- $lang_url := strings.TrimPrefix ( printf "%s/" .Lang) $url }} {{- $bc_list := (split $lang_url "/")}}