#155, Do not show collapse indicator in non-section pages
This commit is contained in:
parent
aa5967140d
commit
9c8663eb34
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
{{ with .Page }}
|
{{ with .Page }}
|
||||||
{{ if .Content }}
|
{{ if .Content }}
|
||||||
<a href="{{ .RelPermalink }}" class="
|
<a href="{{ .RelPermalink }}" class="
|
||||||
{{- if .Params.bookCollapseSection }}collapsed {{ end }}
|
{{- if and .Params.bookCollapseSection .IsSection }}collapsed {{ end }}
|
||||||
{{- if eq $.CurrentPage . }}active{{ end }}">
|
{{- if eq $.CurrentPage . }}active{{ end }}">
|
||||||
{{- partial "docs/title" . -}}
|
{{- partial "docs/title" . -}}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue