mirror of
https://github.com/thangisme/notes.git
synced 2025-10-13 16:14:29 -04:00
Adds the possibility to specify a brief summary of a child page
This commit is contained in:
@@ -62,10 +62,16 @@
|
||||
<ul>
|
||||
{% for child in children_list %}
|
||||
{% if child.parent == page.title and child.title != page.title %}
|
||||
{% 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>
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user