Shorter version that I assume should work.

This commit is contained in:
Stefano Borini 2019-03-09 18:00:37 +00:00
parent c520591234
commit b82b1a86d3

View File

@ -62,15 +62,9 @@
<ul> <ul>
{% for child in children_list %} {% for child in children_list %}
{% if child.parent == page.title and child.title != page.title %} {% if child.parent == page.title and child.title != page.title %}
{% if child.summary %} <li>
<li> <a href="{{ child.url | absolute_url }}">{{ child.title }}</a>{% if child.summary %} - {{ child.summary }}{% endif %}
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a> - {{ child.summary }} </li>
</li>
{% else %}
<li>
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>
</li>
{% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </ul>