From b28cc327489d6eed4d5a97bab6b3df39bcd3e726 Mon Sep 17 00:00:00 2001 From: exu Date: Thu, 3 Aug 2023 16:55:06 +0200 Subject: [PATCH] Fix sublevels not generating See issue 27 https://github.com/trilbymedia/grav-plugin-page-toc/issues/27 --- plugins/page-toc/templates/components/page-toc.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/page-toc/templates/components/page-toc.html.twig b/plugins/page-toc/templates/components/page-toc.html.twig index 5a94a6b..6d941c6 100644 --- a/plugins/page-toc/templates/components/page-toc.html.twig +++ b/plugins/page-toc/templates/components/page-toc.html.twig @@ -1,4 +1,4 @@ -{% import _self as self %} +{# {% import _self as self %} #} {% macro toc_loop(items) %} {% for item in items %} @@ -24,4 +24,4 @@ {% endif %} -{% endif %} \ No newline at end of file +{% endif %}