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:42 UTC
[camel-website] 06/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 56833650d71a90201f57ad164b0d227abf54839e
Author: Nayananga Anuradha Muhandiram <na...@gmail.com>
AuthorDate: Fri Aug 9 18:52:29 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 360c7a2..986c882 100644
--- a/layouts/partials/breadcrumbs.html
+++ b/layouts/partials/breadcrumbs.html
@@ -4,7 +4,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" "/" }}
+ {{ $.Scratch.Add "path" "/" }}
{{ if ne $element "" }}
{{ $.Scratch.Add "breadcrumb" (slice (dict "url" ($.Scratch.Get "path") "name" . "position" (add $index 2))) }}
{{ end }}