diff --git a/www/_includes/chapter.njk b/www/_includes/chapter.njk index 1e04d64..e1901cc 100644 --- a/www/_includes/chapter.njk +++ b/www/_includes/chapter.njk @@ -47,26 +47,26 @@ layout: layout.njk -{% if asciidoc.getSections().length %} +{% macro toc(block, level=0, url="") %} + {% set isPart = level == 0 and is_whole_book %} + {% set isChapter = level == 1 and is_whole_book %} +