We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb4988c commit 0f0e027Copy full SHA for 0f0e027
layouts/partials/breadcrumbs.html
@@ -1,6 +1,7 @@
1
{{- if (.Param "ShowBreadCrumbs")}}
2
<div class="breadcrumbs">
3
{{- $url := replace .Parent.Permalink ( printf "%s" .Site.BaseURL) "" }}
4
+ {{- $url = (trim $url "/" ) }}
5
{{- $lang_url := strings.TrimPrefix ( printf "%s/" .Lang) $url }}
6
7
<a href="{{ "" | absLangURL }}">{{ i18n "home" | default "Home"}}</a>
layouts/partials/templates/schema_json.html
@@ -19,6 +19,7 @@
19
{{- else if (or .IsPage .IsSection) }}
20
{{/* BreadcrumbList */}}
21
22
+{{- $url = (trim $url "/" ) }}
23
24
{{- $bc_list := (split $lang_url "/")}}
25
0 commit comments