]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/combo/page_template_sidebar.html
misc: run manage.py with python3
[panikweb.git] / panikweb_templates / templates / combo / page_template_sidebar.html
index bd00b18502f66d5a4b9684647aa27c0cda560c51..03ceb9821bdd43ea391455e85459735d7e82e2ff 100644 (file)
                <div class="text">{% placeholder "content" %}</div>
        </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 %}
+                   {% if page.has_children and page.slug != "35-ans" %}
                      {% for subpage in page.get_children %}
-                       {% include "combo/topik_menu_item.html" with page=subpage only %}
+                       {% include "combo/topik_menu_item.html" with page=subpage category=page.title only %}
                      {% endfor %}
                    {% else %}
-                     {% include "combo/topik_menu_item.html" with page=page only %}
+                     {% include "combo/topik_menu_item.html" with page=page category="Topik" only %}
                    {% endif %}
                  {% endif %}
                {% endfor %}
                </ul>
-               {% placeholder "sidebar" %}
        </div>
 </div>