diff --git a/plugins/page-toc/templates/components/page-toc.html.twig b/plugins/page-toc/templates/components/page-toc.html.twig index 6d941c6..a1465d4 100644 --- a/plugins/page-toc/templates/components/page-toc.html.twig +++ b/plugins/page-toc/templates/components/page-toc.html.twig @@ -1,5 +1,3 @@ -{# {% import _self as self %} #} - {% macro toc_loop(items) %} {% for item in items %} {% set class = loop.first ? 'first' : loop.last ? 'last' : null %} @@ -7,7 +5,7 @@ {{ item.label }} {% if item.children|length > 0 %}