#52, Allow to set max showed levels of ToC. e.g. BookToC=3
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
{{ define "book-section" }}
|
||||
{{ with .Section }}
|
||||
<li {{ if .Params.bookFlatSection}} class="book-section-flat" {{ end }}>
|
||||
<li {{ if .Params.BookFlatSection}} class="book-section-flat" {{ end }}>
|
||||
{{ if .Content }}
|
||||
{{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }}
|
||||
{{ else }}
|
||||
|
||||
Reference in New Issue
Block a user