mirror of
https://github.com/thangisme/notes.git
synced 2024-12-22 19:26:34 -05:00
Merge pull request #98 from stefanoborini/simplify-template
Introduces the possibility for a summary in the table of contents
This commit is contained in:
commit
ea9affe25f
@ -73,7 +73,7 @@ layout: table_wrappers
|
|||||||
{% 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>
|
<li>
|
||||||
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>
|
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>{% if child.summary %} - {{ child.summary }}{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user