Fix sublevels not generating

See issue 27
    https://github.com/trilbymedia/grav-plugin-page-toc/issues/27
This commit is contained in:
exu 2023-08-03 16:55:06 +02:00
parent 81f3709385
commit b28cc32748

View File

@ -1,4 +1,4 @@
{% import _self as self %} {# {% import _self as self %} #}
{% macro toc_loop(items) %} {% macro toc_loop(items) %}
{% for item in items %} {% for item in items %}
@ -24,4 +24,4 @@
</ul> </ul>
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}