From 2e0ff5e3cce8cae7a7181d2f1012e8a1aca9ae67 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sat, 19 Nov 2022 20:25:12 +0100 Subject: [PATCH] Maybe like this --- themes/learn2-dark/templates/partials/sidebar.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/learn2-dark/templates/partials/sidebar.html.twig b/themes/learn2-dark/templates/partials/sidebar.html.twig index b176189..b1dffbe 100644 --- a/themes/learn2-dark/templates/partials/sidebar.html.twig +++ b/themes/learn2-dark/templates/partials/sidebar.html.twig @@ -10,10 +10,10 @@ {% set parent_page = p.activeChild ? ' parent' : '' %} {% set current_page = p.active ? ' active' : '' %}
  • - {##} + {##} {#{% if data_level == 0 %}{{ loop.index }}. {% endif %}{{ p.menu }}#} - {##} + {% if p.children.count > 0 %}