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 7ed94c6 update:show correct microdata for different documentation
versions
7ed94c6 is described below
commit 7ed94c6a25b8ba2d9eaf98aa4b546dc3d2d252b0
Author: nayananga
AuthorDate: Thu May 28 00:05:06 2020 +0530
update:show correct microdata for different documentation versions
---
antora-ui-camel/src/partials/breadcrumbs-microdata.hbs | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/antora-ui-camel/src/partials/breadcrumbs-microdata.hbs
b/antora-ui-camel/src/partials/breadcrumbs-microdata.hbs
index 2437add..1c561c2 100644
--- a/antora-ui-camel/src/partials/breadcrumbs-microdata.hbs
+++ b/antora-ui-camel/src/partials/breadcrumbs-microdata.hbs
@@ -12,13 +12,19 @@
"@type": "ListItem",
"position": 2,
"name": "{{{page.component.title}}}",
+"item": "{{{add site.url page.component.url}}}"
+},
+{
+"@type": "ListItem",
+"position": 3,
+"name": "{{{page.componentVersion.displayVersion}}}",
"item": "{{{add site.url page.componentVersion.url}}}"
},
{{#if page.breadcrumbs}}
{{#each page.breadcrumbs}}
{
"@type": "ListItem",
-"position": {{add @index 3}},
+"position": {{add @index 4}},
"name": "{{{ ./content }}}",
{{~#if (and ./url (eq ./urlType 'internal'))~}}
"item": "{{{add ../site.url ./url}}}"