Commit 1f81e854 authored by fred's avatar fred

templates: don't recurse into 35 ans

parent a6fbd7db
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<ul class="custom list"> <ul class="custom list">
{% for page in page.get_parents_and_self.0.get_children %} {% for page in page.get_parents_and_self.0.get_children %}
{% if page.public and not page.exclude_from_navigation %} {% 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 %} {% for subpage in page.get_children %}
{% include "combo/topik_menu_item.html" with page=subpage category=page.title only %} {% include "combo/topik_menu_item.html" with page=subpage category=page.title only %}
{% endfor %} {% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment