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 35d0804  update:show correct microdata for different documentation 
versions
35d0804 is described below

commit 35d0804d3043c1a3d4476f206b337bb4ce21fd9a
Author: nayananga <nayanangamuhandi...@gmail.com>
AuthorDate: Tue May 26 04:21:52 2020 +0530

    update:show correct microdata for different documentation versions
---
 antora-ui-camel/src/partials/breadcrumbs-microdata.hbs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/antora-ui-camel/src/partials/breadcrumbs-microdata.hbs 
b/antora-ui-camel/src/partials/breadcrumbs-microdata.hbs
index 6fae727..2437add 100644
--- a/antora-ui-camel/src/partials/breadcrumbs-microdata.hbs
+++ b/antora-ui-camel/src/partials/breadcrumbs-microdata.hbs
@@ -1,5 +1,5 @@
 <script type="application/ld+json">
-    { 
+    {
     "@context": "http://schema.org";,
     "@type": "BreadcrumbList",
     "itemListElement": [{
@@ -12,7 +12,7 @@
         "@type": "ListItem",
         "position": 2,
         "name": "{{{page.component.title}}}",
-        "item": "{{{add site.url page.component.url}}}"
+        "item": "{{{add site.url page.componentVersion.url}}}"
         },
         {{#if page.breadcrumbs}}
         {{#each page.breadcrumbs}}
@@ -23,7 +23,7 @@
         {{~#if (and ./url (eq ./urlType 'internal'))~}}
         "item": "{{{add ../site.url ./url}}}"
         {{~else~}}
-        "item": "{{{add ../site.url ../page.component.url}}}"
+        "item": "{{{add ../site.url ../page.componentVersion.url}}}"
         {{~/if~}}
         }
         {{#unless @last}}

Reply via email to