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:41 UTC
[camel-website] 05/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 f4468938295cf0e22407a2e6d6312e4119bc890c
Author: Nayananga Anuradha Muhandiram <na...@gmail.com>
AuthorDate: Fri Aug 9 18:52:17 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 a078efb..360c7a2 100644
--- a/layouts/partials/breadcrumbs.html
+++ b/layouts/partials/breadcrumbs.html
@@ -5,7 +5,7 @@
{{ range $index, $element := split $url "/" }}
{{ $.Scratch.Add "path" $element }}
{{ $.Scratch.Add "path" "/" }}
-{{ if ne $element "" }}
+ {{ if ne $element "" }}
{{ $.Scratch.Add "breadcrumb" (slice (dict "url" ($.Scratch.Get "path") "name" . "position" (add $index 2))) }}
{{ end }}
{{ end }}