]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/combo/page_template_sidebar.html
templates: don't recurse into 35 ans
[panikweb.git] / panikweb_templates / templates / combo / page_template_sidebar.html
index 2fe2606b30f53e34ca5af7b15fe0bbddc9e757ce..03ceb9821bdd43ea391455e85459735d7e82e2ff 100644 (file)
@@ -24,7 +24,7 @@
                <ul class="custom list">
                {% for page in page.get_parents_and_self.0.get_children %}
                  {% if page.public and not page.exclude_from_navigation %}
-                   {% if page.has_children %}
+                   {% if page.has_children and page.slug != "35-ans" %}
                      {% for subpage in page.get_children %}
                        {% include "combo/topik_menu_item.html" with page=subpage category=page.title only %}
                      {% endfor %}