Allow modular of modular to be displayed in the Pages list (fixes #58)

This commit is contained in:
Djamil Legato
2015-08-12 11:43:19 -07:00
parent 43e8a6c30d
commit 1cebbb657d

View File

@@ -61,7 +61,7 @@
</span> </span>
<p class="page-route">{{ p.route }}</p> <p class="page-route">{{ p.route }}</p>
</div> </div>
{% if p.children().count > 0 and not p.modular() %} {% if p.children().count > 0 %}
<ul class="depth-{{ depth + 1 }}" style="display:none;"> <ul class="depth-{{ depth + 1 }}" style="display:none;">
{{ _self.loop(p, base_url, depth + 1, warn, separator) }} {{ _self.loop(p, base_url, depth + 1, warn, separator) }}