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:
us...@infra.apache.org


Reply via email to