Skip to content

Commit 53194b9

Browse files
committed
enable nav-bar components
1 parent d31a0d6 commit 53194b9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

antora-ui/src/partials/header-content.hbs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@
2121
</div>
2222
<div id="topbar-nav" class="navbar-menu">
2323
<div class="navbar-end">
24+
<div class="navbar-item has-dropdown is-hoverable">
25+
<a class="navbar-link" href="#">{{page.component.title}}</a>
26+
<div class="navbar-dropdown">
27+
{{#each site.components}}
28+
{{#if (ne this @root.page.component)}}
29+
<a class="navbar-item" href="{{{relativize ./url}}}">{{{./title}}}</a>
30+
{{/if}}
31+
{{/each}}
32+
</div>
33+
</div>
2434
<!--
2535
<a class="navbar-item" href="#">Home</a>
2636
<div class="navbar-item has-dropdown is-hoverable">

0 commit comments

Comments
 (0)