You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/08/12 07:55:48 UTC

[GitHub] [camel-website] zregvart commented on a change in pull request #71: Microdata in antora-ui-camel

zregvart commented on a change in pull request #71: Microdata in antora-ui-camel
URL: https://github.com/apache/camel-website/pull/71#discussion_r312808692
 
 

 ##########
 File path: antora-ui-camel/src/partials/breadcrumbs-microdata.hbs
 ##########
 @@ -0,0 +1,35 @@
+{ 
+"@context": "http://schema.org",
+"@type": "BreadcrumbList",
+"itemListElement": [{
+    "@type": "ListItem",
+    "position": 1,
+    "name": "{{{site.title}}}",
+    "item": "{{{site.url}}}"
+    },
+    {
+    "@type": "ListItem",
+    "position": 2,
+    "name": "{{{page.component.title}}}",
+    "item": "{{{add site.url page.component.url}}}"
+    },
+    {{#if page.breadcrumbs}}
+    {{#each page.breadcrumbs}}
+    {
+    "@type": "ListItem",
+    "position": {{add @index 3}},
+    "name": "{{{ ./content }}}",
+    {{~#if (and ./url (eq ./urlType 'internal'))~}}
+    {{!-- "itme": "{{{relativize @root.page.url ./url}}}" --}}
 
 Review comment:
   We can remove this comment

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services