#155, Do not show collapse indicator in non-section pages
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user