poprawilam menu
This commit is contained in:
parent
65dafe3220
commit
ec49cbc335
@ -10,7 +10,15 @@
|
||||
{{ if or ($currentPage.HasMenuCurrent "main" .) ($currentPage.IsMenuCurrent "main" .) }}
|
||||
<ul>
|
||||
{{ range .Children }}
|
||||
<li class="subsub-item{{ if $currentPage.IsMenuCurrent "main" . }} active{{ end }}"><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
<li class="subsub-item{{ if $currentPage.IsMenuCurrent "main" . }} active{{ end }}"><a href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ if or ($currentPage.HasMenuCurrent "main" .) ($currentPage.IsMenuCurrent "main" .) }}
|
||||
<ul>
|
||||
{{ range .Children }}
|
||||
<li class="subsubsub-item{{ if $currentPage.IsMenuCurrent "main" . }} active{{ end }}"><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
@ -56,6 +56,10 @@ BODY {
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.sidebar .subsubsub-item > a{
|
||||
padding-left: 80px;
|
||||
}
|
||||
|
||||
.sidebar .active > a {
|
||||
color: #fff;
|
||||
background-color: #428bca;
|
||||
|
Loading…
Reference in New Issue
Block a user