Skip to content

Commit

Permalink
feat: update nav.html to allow the parent node to be clicked (digital…
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Walther committed Nov 8, 2017
1 parent 71fa808 commit ada57d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{ $.Scratch.Set "currentMenuEntry" . }}
<li>
{{ if .HasChildren }}
<span class="section">{{ .Name | title }}</span>
{{ partial "nav_link" $currentNode }}
<ul>
{{ range .Children }}
{{ $.Scratch.Set "currentMenuEntry" . }}
Expand Down

0 comments on commit ada57d0

Please sign in to comment.