]> git.0d.be Git - panikweb-airlibre.git/commitdiff
remove manual menu from sidebar main
authorFrédéric Péters <fpeters@0d.be>
Mon, 28 Aug 2023 13:30:54 +0000 (15:30 +0200)
committerFrédéric Péters <fpeters@0d.be>
Mon, 28 Aug 2023 13:31:10 +0000 (15:31 +0200)
panikweb_airlibre/templates/combo/page_template_sidebar.html

index a1fb6a3ecdd8b8cccd0dc07654443194b2c8149e..d6c663b08ac15d8df50c9414ca54b6fa038504a3 100644 (file)
        </div>
        <div class="sub rightPart custom marged">
                {% placeholder "sidebar" %}
-               <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 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 %}
-                   {% else %}
-                     {% include "combo/topik_menu_item.html" with page=page category=page.description|default:""|truncatechars:40 only %}
-                   {% endif %}
-                 {% endif %}
-               {% endfor %}
-               </ul>
        </div>
 </div>