Skip to content

Commit d15ed88

Browse files
author
amarantha-k
committed
fix nav tree issue
1 parent 1c2c332 commit d15ed88

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/partials/nav-tree.hbs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@
88
</div>
99
{{/if}}
1010
{{/if}}
11-
{{#if ./url}}
12-
<a class="nav-link" href="{{#if (eq ./urlType 'internal')}}{{relativize ./url}}{{else}}{{url}}{{/if}}">{{{./content}}}</a>
13-
{{else}}
14-
<span class="nav-text">{{{./content}}}</span>
15-
{{/if}}
16-
{{> nav-tree navigation=./items level=(add ../level 1) crumbLevel=(add ../crumbLevel (and ./content 1)) crumbAtLevel=(lookup @root.page.breadcrumbs (add ../crumbLevel (and ./content 1)))}}
17-
</li>
1811
{{/each}}
1912
<ul class="nav-list">
2013
{{!-- {{log ../crumbAtLevel this 'log output'}} --}}

0 commit comments

Comments
 (0)