You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/08/09 13:49:43 UTC
[camel-website] 07/09: Update layouts/partials/breadcrumbs.html
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 7b829c45884ac68c077d1a9d676c0d14edf9fc31
Author: Nayananga Anuradha Muhandiram <na...@gmail.com>
AuthorDate: Fri Aug 9 18:52:41 2019 +0530
Update layouts/partials/breadcrumbs.html
Co-Authored-By: Zoran Regvart <zo...@regvart.com>
---
layouts/partials/breadcrumbs.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html
index 986c882..70e82c7 100644
--- a/layouts/partials/breadcrumbs.html
+++ b/layouts/partials/breadcrumbs.html
@@ -3,7 +3,7 @@
{{ $.Scratch.Add "breadcrumb" (slice (dict "url" .Site.BaseURL "name" "home" "position" 1 )) }}
{{ range $index, $element := split $url "/" }}
-{{ $.Scratch.Add "path" $element }}
+ {{ $.Scratch.Add "path" $element }}
{{ $.Scratch.Add "path" "/" }}
{{ if ne $element "" }}
{{ $.Scratch.Add "breadcrumb" (slice (dict "url" ($.Scratch.Get "path") "name" . "position" (add $index 2))) }}