File tree 1 file changed +4
-4
lines changed
themes/dosmy/layouts/partials
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 37
37
< li class ="td-sidebar-nav__section-title ">
38
38
< a href ="{{ $s.RelPermalink }} " class ="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section
39
39
{{ if not $show }} collapsed{{ end }}{{ if $active}} active{{ end }}
40
- "> {{ $s.LinkTitle }}</ a >
40
+ "> {{ if $active}}∨{{else}}>{{ end }} {{ $s.LinkTitle }}</ a >
41
41
</ li >
42
- {{ if or (or $active $show) (eq $p.URL "/")}}
42
+ {{ if or (or $active $show) (eq $p.RelPermalink "/")}}
43
43
< ul class ="td-sidebar-docs-menu ">
44
44
< li class ="collapse {{ if $show }}show{{ end }} " id ="{{ $sid }} ">
45
45
{{ $pages := where (union $s.Pages $s.Sections).ByWeight ".Params.toc_hide" "!=" true }}
49
49
{{ $mid := printf "m-%s" (.RelPermalink | anchorize) }}
50
50
{{ $pageActive := eq . $p }}
51
51
< a class ="td-sidebar-link td-sidebar-link__page {{ if and (not $shouldDelayActive) $pageActive }} active{{ end }} " id ="{{ $mid }} " href ="{{ .RelPermalink }} "> {{ .LinkTitle }}</ a >
52
- {{ else if (eq $p.URL "/") }}
52
+ {{ else if (eq $p.RelPermalink "/") }}
53
53
{{ $mid := printf "m-%s" (.RelPermalink | anchorize) }}
54
- < a class ="td-sidebar-link td-sidebar-link__page " id ="{{ $mid }} " href ="{{ .RelPermalink }} "> {{ .LinkTitle }}</ a >
54
+ < a class ="td-sidebar-link td-sidebar-link__page " id ="{{ $mid }} " href ="{{ .RelPermalink }} "> > {{ .LinkTitle }}</ a >
55
55
{{ else }}
56
56
{{ template "section-tree-nav-section" (dict "page" $p "section" .) }}
57
57
{{ end }}
You can’t perform that action at this time.
0 commit comments