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

commit 7887eeaa07f86494ce2555320cc4b0c6735b75cd
Author: nayananga@acerubuntu18.04 <nayanangamuhandi...@gmail.com>
AuthorDate: Sun Jul 7 10:51:29 2019 +0530

    fix for external link errors, and dropdown navbar-link menu items were set 
to unclickable
---
 antora-ui-camel/src/partials/header-content.hbs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/antora-ui-camel/src/partials/header-content.hbs 
b/antora-ui-camel/src/partials/header-content.hbs
index 60fd97d..2f32bf8 100644
--- a/antora-ui-camel/src/partials/header-content.hbs
+++ b/antora-ui-camel/src/partials/header-content.hbs
@@ -14,14 +14,14 @@
           {{#each @items}}
               {{#if children}}
               <div class="navbar-item has-dropdown is-hoverable">
-                <a class="navbar-link" 
href="{{../../siteRootPath}}{{url}}">{{name}}</a>
+                <a class="navbar-link">{{name}}</a>
               {{else}}
-              <a class="navbar-item" 
href="{{../../siteRootPath}}{{url}}">{{name}}</a>
+              <a class="navbar-item" 
href="{{siteRootPath}}{{url}}">{{name}}</a>
               {{/if}}
               {{#if children}}
               <div class="navbar-dropdown">
               {{#each children}}
-                <a class="navbar-item" 
href="{{../../../siteRootPath}}{{url}}">{{name}}</a>
+                <a class="navbar-item" 
href="{{siteRootPath}}{{url}}">{{name}}</a>
               {{/each}}
               </div>
               {{/if}}

Reply via email to