mirror of
https://gitea.com/gitea/theme.git
synced 2026-05-03 22:49:54 +08:00
Remove links from empty navigation headlines
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user