This commit is contained in:
Aditya Telange
2021-03-30 19:10:33 +05:30
parent 196b82645e
commit e198084fbf
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
</script>
{{- else if (or .IsPage .IsSection) }}
{{/* BreadcrumbList */}}
{{- $url := replace .Parent.Permalink ( printf "%s" .Site.BaseURL) "" }}
{{- $url := strings.TrimPrefix "/" (.Parent.Permalink | relURL) }}
{{- $lang_url := strings.TrimPrefix ( printf "%s/" .Lang) $url }}
{{- $bc_list := (split $lang_url "/")}}