Merge pull request #76 from Fishbowler/sidebar_html_fix

Fix sidebar menu HTML structure
This commit is contained in:
Huy Tran 2019-06-21 11:06:59 +10:00 committed by GitHub
commit bc30ead07f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,7 @@
</li> </li>
{{ end }} {{ end }}
</ul> </ul>
</li>
{{ else }} <!-- No children --> {{ else }} <!-- No children -->
<li> <li>
<a href="{{.URL}}">{{ .Pre }} <a href="{{.URL}}">{{ .Pre }}
@ -22,6 +23,5 @@
</li> </li>
{{ end }} {{ end }}
{{ end }} {{ end }}
</li>
</ul> </ul>
</div> </div>