mirror of
https://github.com/thangisme/notes.git
synced 2025-01-21 22:16:22 -05:00
Adds the possibility to specify a brief summary of a child page
This commit is contained in:
parent
b44efbf1da
commit
c796485d92
@ -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.excerpt %}
|
||||
<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 %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user