diff --git a/tool/template-sidebar_nav.html b/tool/template-sidebar_nav.html index 51ee9ce5b8..dcdcae46ec 100644 --- a/tool/template-sidebar_nav.html +++ b/tool/template-sidebar_nav.html @@ -170,7 +170,6 @@
  • {{ subpage.name }}{% if page.status is defined and page.status == "not_enabled" %} {% include 'template-status_not_enabled.html' %}{% endif %}
  • {% set category_members = supercatpages|selectattr('category', 'defined_and_equalto', subpage.category)|list %} - {% for subsubpage in category_members %} {% if subsubpage != subpage and (subsubpage.subcategory is undefined or subsubpage == category_members|selectattr('subcategory', 'defined_and_equalto', subsubpage.subcategory)|first) and subsubpage.template != "template-redirect.html" %}