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

Adds the possibility to specify a brief summary of a child page

parent b44efbf1
No related branches found
No related tags found
No related merge requests found
...@@ -62,9 +62,15 @@ ...@@ -62,9 +62,15 @@
<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 %}
<li> {% if child.excerpt %}
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a> <li>
</li> <a href="{{ child.url | absolute_url }}">{{ child.title }} - {{ child.excerpt }}</a>
</li>
{% else %}
<li>
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>
</li>
{% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </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