mirror of
https://github.com/thangisme/notes.git
synced 2025-02-01 18:26:41 -05:00
Shorter version that I assume should work.
This commit is contained in:
parent
c520591234
commit
b82b1a86d3
@ -62,15 +62,9 @@
|
||||
<ul>
|
||||
{% for child in children_list %}
|
||||
{% if child.parent == page.title and child.title != page.title %}
|
||||
{% if child.summary %}
|
||||
<li>
|
||||
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a> - {{ child.summary }}
|
||||
</li>
|
||||
{% else %}
|
||||
<li>
|
||||
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>
|
||||
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>{% if child.summary %} - {{ child.summary }}{% endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user