mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
made the main table of contents elapse 3 levels, instead of 2
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
;; contents) that should be made at the nd-level
|
;; contents) that should be made at the nd-level
|
||||||
(define (toc-depth nd)
|
(define (toc-depth nd)
|
||||||
(if (string=? (gi nd) "book")
|
(if (string=? (gi nd) "book")
|
||||||
2 ; the depth of the top-level TOC
|
3 ; the depth of the top-level TOC
|
||||||
1 ; the depth of all other TOCs
|
1 ; the depth of all other TOCs
|
||||||
))
|
))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user