projects
/
working
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e64e164
)
use title of component version instead of component in nav menu
author
Dan Allen
<dan@opendevise.com>
Thu, 9 Apr 2020 09:56:29 +0000
(
03:56
-0600)
committer
Dan Allen
<dan@opendevise.com>
Thu, 9 Apr 2020 21:57:29 +0000
(21:57 +0000)
src/partials/nav-menu.hbs
patch
|
blob
|
history
diff --git
a/src/partials/nav-menu.hbs
b/src/partials/nav-menu.hbs
index
912dd0f
..
59be5f2
100644
(file)
--- a/
src/partials/nav-menu.hbs
+++ b/
src/partials/nav-menu.hbs
@@
-1,7
+1,9
@@
{{#with page.navigation}}
<div class="nav-panel-menu is-active" data-panel="menu">
<nav class="nav-menu">
- <h3 class="title"><a href="{{relativize @root.page.componentVersion.url}}">{{@root.page.component.title}}</a></h3>
+ {{#with @root.page.componentVersion}}
+ <h3 class="title"><a href="{{relativize ./url}}">{{./title}}</a></h3>
+ {{/with}}
{{> nav-tree navigation=this}}
</nav>
</div>