Skip to content
Snippets Groups Projects
Unverified Commit 26766a59 authored by Stefano Borini's avatar Stefano Borini Committed by GitHub
Browse files

Merge pull request #1 from stefanoborini/adding-summary-for-toc

Adding summary for toc
parents b44efbf1 eec213da
No related branches found
No related tags found
No related merge requests found
......@@ -62,9 +62,15 @@
<ul>
{% for child in children_list %}
{% if child.parent == page.title and child.title != page.title %}
<li>
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>
</li>
{% if child.summary %}
<li>
<a href="{{ child.url | absolute_url }}">{{ child.title }} - {{ child.summary }}</a>
</li>
{% else %}
<li>
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>
</li>
{% endif %}
{% 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