forked from TagesschuleElementa/www.tagesschule-elementa.ch
subpage list if in navigation
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="subpage_list">
|
||||
<ul>
|
||||
{% for page in request.current_page.get_child_pages %}
|
||||
{% if page|page_published %}
|
||||
{% if page|page_published and page.in_navigation %}
|
||||
{% include "project/includes/page_item.html" with image=page.imageextension.image cropping=page.imageextension.cropping index=forloop.counter0 subpage=True %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user