mirror of https://gitea.com/gitea/theme.git
Remove links from empty navigation headlines
This commit is contained in:
parent
1cd9075145
commit
8be15bc3bd
|
@ -3,10 +3,8 @@
|
|||
{{ $currentNode := . }}{{ range .Site.Menus.sidebar }}
|
||||
{{ if .HasChildren }}
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">
|
||||
{{ .Pre }}
|
||||
{{ .Name }}
|
||||
</a>
|
||||
{{ .Pre }}
|
||||
{{ .Name }}
|
||||
<ul>
|
||||
{{ range .Children }}
|
||||
<li class="nav-item">
|
||||
|
|
Loading…
Reference in New Issue