We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 762ec01 commit 23c2870Copy full SHA for 23c2870
assets/css/v2/style.css
@@ -937,6 +937,7 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
937
display: none;
938
}
939
940
+.current ~ nav,
941
.collapsible-content li ul li:has(.current) > nav {
942
/* Open TOC for current page */
943
display: block !important;
layouts/partials/sidebar-v2.html
@@ -79,6 +79,11 @@
79
<span class="parent-box-link"></span>
80
{{ end }}
81
<a href="{{ .Permalink }}" style="{{if eq $.Permalink .Permalink}}font-weight: bold;{{end}}">{{ .Title }} </a>
82
+ {{ if eq $.Permalink .Permalink }}
83
+ {{- with .TableOfContents -}}
84
+ {{- . -}}
85
+ {{- end -}}
86
+ {{ end }}
87
88
</li>
89
0 commit comments