This commit is contained in:
lvuch
2018-04-30 17:10:02 -07:00
parent 9f00562151
commit 8829239087
2 changed files with 45 additions and 1 deletions
-1
View File
@@ -37,7 +37,6 @@
<!-- tabs -->
<ul class="tabs col-md-10">
{{ $topLevel := .Scratch.Get "topLevel"}}
<li class="{{if (eq .Permalink $topLevel.Permalink)}}active{{end}}"><a href="{{$topLevel.Permalink}}"><i class="material-icons" style="position: relative; top: -2px;">home</i></a></li>
{{ if $topLevel }}
{{ range $topLevel.Sections }}
{{ $isCurrent := .IsAncestor $.CurrentSection }}