File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 9494 }
9595 }
9696}
97+
98+ .aside_item-current {
99+ background-color : var (--colorBlack200 );
100+ }
Original file line number Diff line number Diff line change 11< aside class ="aside ">
2- {{ $currentPageTitle := .Title }}
32 {{ $currentPageSection := .Section }}
3+ {{ $currentPageRelPermalink := .RelPermalink }}
44
55 < nav class ="aside_nav ">
66 < ul >
7- < li > < a href ="{{ .Site.Home.RelPermalink }} "> {{ .Site.Home.LinkTitle }}</ a > </ li >
7+ < li class =" {{ if eq $currentPageRelPermalink .Site.Home.RelPermalink }}aside_item-current{{ end }} " > < a href ="{{ .Site.Home.RelPermalink }} "> {{ .Site.Home.LinkTitle }}</ a > </ li >
88 {{ range .Site.Sections.ByWeight }}
99 < li class ="{{ if eq $currentPageSection .Section }}aside_item-current{{ end }} ">
10- < details >
10+ < details {{ if eq $currentPageSection .Section }}open{{ end }} >
1111 < summary > < b > {{ .LinkTitle }}</ b > </ summary >
1212 < ul >
1313 {{ range .RegularPages.ByWeight }}
You can’t perform that action at this time.
0 commit comments