mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-04-21 22:51:30 +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 }}
|
{{ 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 New Issue
Block a user