Skip to content

Commit 3301549

Browse files
committed
Write roles and target for nav-tree.hbs
Closes gh-243
1 parent 0b29699 commit 3301549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partials/nav-tree.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<button class="nav-item-toggle"></button>
88
{{/if}}
99
{{#if ./url}}
10-
<a class="nav-link" href="
10+
<a class="nav-link{{#if ./roles}} {{{./roles}}}{{~/if}}" {{#if ./target}} target="{{{./target}}}"{{~/if}} href="
1111
{{~#if (eq ./urlType 'internal')}}{{{relativize ./url}}}
1212
{{~else}}{{{./url}}}{{~/if}}">{{{./content}}}</a>
1313
{{else}}

0 commit comments

Comments
 (0)