{{ with .page }} {{ if .IsHome }} {{- else if (or .IsPage .IsSection) }} {{/* BreadcrumbList */}} {{- $url := replace .Parent.Permalink ( printf "%s" site.BaseURL) "" }} {{- $lang_url := strings.TrimPrefix ( printf "%s/" .Lang) $url }} {{- $bc_list := (split $lang_url "/")}} {{- $scratch := newScratch }} {{- if .IsPage }} {{- end }}{{/* .IsPage end */}} {{- end -}} {{- end -}}