mirror of
https://github.com/bigskysoftware/hypermedia-systems.git
synced 2025-11-30 00:03:48 -05:00
fix build failing
This commit is contained in:
parent
3e0c5a25f9
commit
ca6abef846
@ -47,11 +47,6 @@ layout: layout.njk
|
|||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{% if asciidoc.getSections().length %}
|
|
||||||
<div class="container">
|
|
||||||
<details class="contents">
|
|
||||||
<summary>Contents</summary>
|
|
||||||
|
|
||||||
{% macro toc(block, level=0, url="") %}
|
{% macro toc(block, level=0, url="") %}
|
||||||
{% set isPart = level == 0 and is_whole_book %}
|
{% set isPart = level == 0 and is_whole_book %}
|
||||||
{% set isChapter = level == 1 and is_whole_book %}
|
{% set isChapter = level == 1 and is_whole_book %}
|
||||||
@ -67,6 +62,11 @@ layout: layout.njk
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
{% if asciidoc and asciidoc.getSections().length %}
|
||||||
|
<div class="container">
|
||||||
|
<details class="contents">
|
||||||
|
<summary>Contents</summary>
|
||||||
|
|
||||||
{{ asciidoc and toc(asciidoc, 0) }}
|
{{ asciidoc and toc(asciidoc, 0) }}
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user