mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-04-09 07:15:43 +00:00
#155, Do not show collapse indicator in non-section pages
This commit is contained in:
parent
aa5967140d
commit
9c8663eb34
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user