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/12 09:23:00 UTC
[camel-website] branch master updated: fix : incorporate site title
into breadcrumbs microdata
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
The following commit(s) were added to refs/heads/master by this push:
new 5c84f78 fix : incorporate site title into breadcrumbs microdata
5c84f78 is described below
commit 5c84f78cfbc455d3fca61b057fb4613246a4ab94
Author: nayananga@acerubuntu18.04 <na...@gmail.com>
AuthorDate: Mon Aug 12 14:15:59 2019 +0530
fix : incorporate site title into breadcrumbs microdata
---
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 d1527ff..43b8115 100644
--- a/layouts/partials/breadcrumbs.html
+++ b/layouts/partials/breadcrumbs.html
@@ -1,7 +1,7 @@
{{ $url := replace .Permalink .Site.BaseURL "" }}
{{ $.Scratch.Add "path" .Site.BaseURL }}
-{{ $.Scratch.Add "breadcrumb" (slice (dict "url" .Site.BaseURL "name" "home" "position" 1 )) }}
+{{ $.Scratch.Add "breadcrumb" (slice (dict "url" .Site.BaseURL "name" .Site.Title "position" 1 )) }}
{{ range $index, $element := split $url "/" }}
{{ $.Scratch.Add "path" $element }}
{{ $.Scratch.Add "path" "/" }}