We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b56f8e5 commit 81e7de0Copy full SHA for 81e7de0
layouts/partials/sidebar-list-pages.html
@@ -20,9 +20,11 @@
20
<span class="box-link partial"></span>
21
{{ end }}
22
<a href="{{ .Permalink }}" style="{{if eq $currentUrl .Permalink}}font-weight: bold;{{end}}">{{ .Title }} </a>
23
- {{- with .TableOfContents -}}
24
- {{- . -}}
25
- {{- end -}}
+ {{ if eq $currentUrl .Permalink }}
+ {{- with .TableOfContents -}}
+ {{- . -}}
26
+ {{- end -}}
27
+ {{ end }}
28
29
</li>
30
0 commit comments