You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/02/11 20:15:44 UTC

[GitHub] [camel-website] djencks commented on a change in pull request #536: chore: add initial version of catalog layout

djencks commented on a change in pull request #536:
URL: https://github.com/apache/camel-website/pull/536#discussion_r574797959



##########
File path: antora-ui-camel/src/partials/catalog.hbs
##########
@@ -0,0 +1,20 @@
+{{#if navigation.length}}
+  {{#each navigation}}
+    {{#if ../show}}{{#if ./content}}
+      <div class="catalog-entry">
+        <a href="{{~#if (eq ./urlType 'internal')}}{{{relativize ./url}}}{{~else}}{{{./url}}}{{~/if}}">

Review comment:
       With plain Antora UI, you can have links outside the site in the nav-tree, so those can't be relative.  xrefs come through as 'internal'.




----------------------------------------------------------------
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