File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{{- if (.Param "ShowBreadCrumbs") -}}
22< div class ="breadcrumbs ">
3- {{- $url := replace .Parent.Permalink (printf "%s" site.BaseURL ) "" }}
3+ {{- $url := replace .Parent.Permalink (printf "%s" site.Home.Permalink ) "" }}
44 {{- $lang_url := strings.TrimPrefix (printf "%s/" .Lang) $url -}}
55
66 < a href ="{{ "" | absLangURL }}"> {{ i18n "home" | default "Home" }}</ a >
Original file line number Diff line number Diff line change 44 "@context" : "https://schema.org" ,
55 "@type" : "{{- ( site.Params.schema.publisherType | default " Organization ") | title -}}" ,
66 "name" : { { site . Title } } ,
7- "url" : { { site . BaseURL } } ,
7+ "url" : { { site . Home . Permalink } } ,
88 "description" : { { site . Params . description | plainify | truncate 180 | safeHTML } } ,
99 "thumbnailUrl" : { { site . Params . assets . favicon | default "favicon.ico" | absURL } } ,
1010 "sameAs" : [
1818</ script >
1919{{- else if (or .IsPage .IsSection) }}
2020{{/* BreadcrumbList */}}
21- {{- $url := replace .Parent.Permalink ( printf "%s" site.BaseURL ) "" }}
21+ {{- $url := replace .Parent.Permalink ( printf "%s" site.Home.Permalink ) "" }}
2222{{- $lang_url := strings.TrimPrefix ( printf "%s/" .Lang) $url }}
2323{{- $bc_list := (split $lang_url "/")}}
2424
You can’t perform that action at this time.
0 commit comments