#155, Do not show collapse indicator in non-section pages

soper-book
Alex Shpak 2020-03-01 00:49:20 +01:00
parent aa5967140d
commit 9c8663eb34
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
{{ with .Page }}
{{ if .Content }}
<a href="{{ .RelPermalink }}" class="
{{- if .Params.bookCollapseSection }}collapsed {{ end }}
{{- if and .Params.bookCollapseSection .IsSection }}collapsed {{ end }}
{{- if eq $.CurrentPage . }}active{{ end }}">
{{- partial "docs/title" . -}}
</a>