diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-03-28 20:14:02 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-03-28 20:14:11 +0530 |
| commit | fe94d7f3473155b84038164a7e8932ce03b25edd (patch) | |
| tree | 62759f65fce94cc585b5c530fd6d5dbb611b2bc0 /layouts/partials/breadcrumbs.html | |
| parent | 54744ba6943321c22e69d65ef2377b398f70eb7d (diff) | |
Revert "Remove trailing and leading slashes off the $url for Breadcrumb gen;"
This reverts commit 0f0e027def4bce325f810be4c9f4e3c3a9218b68.
Diffstat (limited to 'layouts/partials/breadcrumbs.html')
| -rw-r--r-- | layouts/partials/breadcrumbs.html | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index bf1f4b2..0ffbc09 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -1,7 +1,6 @@ {{- if (.Param "ShowBreadCrumbs")}} <div class="breadcrumbs"> {{- $url := replace .Parent.Permalink ( printf "%s" .Site.BaseURL) "" }} - {{- $url = (trim $url "/" ) }} {{- $lang_url := strings.TrimPrefix ( printf "%s/" .Lang) $url }} <a href="{{ "" | absLangURL }}">{{ i18n "home" | default "Home"}}</a> |
