Skip to content

Commit

Permalink
Write roles and target for nav-tree.hbs
Browse files Browse the repository at this point in the history
Closes gh-243
  • Loading branch information
rwinch committed May 14, 2024
1 parent 0b29699 commit 3301549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partials/nav-tree.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<button class="nav-item-toggle"></button>
{{/if}}
{{#if ./url}}
<a class="nav-link" href="
<a class="nav-link{{#if ./roles}} {{{./roles}}}{{~/if}}" {{#if ./target}} target="{{{./target}}}"{{~/if}} href="
{{~#if (eq ./urlType 'internal')}}{{{relativize ./url}}}
{{~else}}{{{./url}}}{{~/if}}">{{{./content}}}</a>
{{else}}
Expand Down

0 comments on commit 3301549

Please sign in to comment.