Skip to content
Snippets Groups Projects
Commit b82b1a86 authored by Stefano Borini's avatar Stefano Borini
Browse files

Shorter version that I assume should work.

parent c5205912
No related branches found
No related tags found
No related merge requests found
......@@ -62,15 +62,9 @@
<ul>
{% for child in children_list %}
{% if child.parent == page.title and child.title != page.title %}
{% if child.summary %}
<li>
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a> - {{ child.summary }}
</li>
{% else %}
<li>
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>
</li>
{% endif %}
<li>
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>{% if child.summary %} - {{ child.summary }}{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment