Skip to content

Commit 1970253

Browse files
committed
don't use group in navbar unless url property is set
1 parent c051dde commit 1970253

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/partials/header-content.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@
3939
</a>
4040
</li>
4141
{{#each (nav-groups)}}
42+
{{#if ./url}}
4243
<li class="nav-item">
4344
<a class="nav-link" href="{{relativize ./url}}">{{{./title}}}</a>
4445
</li>
46+
{{/if}}
4547
{{/each}}
4648
<li class="nav-item">
4749
<a class="nav-link" href="{{relativize site.components.tutorials.url}}">

0 commit comments

Comments
 (0)