mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
making navItems customisable too
This commit is contained in:
parent
67bb61ee75
commit
c0e1d8e39c
2 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
<ul class="nav site-nav desktop-nav has-dropdown">
|
||||
{{#each navItems}}
|
||||
<li>
|
||||
{{> UI.dynamic template=this}}
|
||||
{{> UI.dynamic template=getTemplate}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
|
|
@ -2,6 +2,9 @@ Template[getTemplate('nav')].helpers({
|
|||
navItems: function () {
|
||||
return navItems;
|
||||
},
|
||||
getTemplate: function () {
|
||||
return getTemplate(this);
|
||||
},
|
||||
userMenu: function () {
|
||||
return getTemplate('userMenu');
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue