diff --git a/_layouts/default.html b/_layouts/default.html index 5cffca92a0a2d8e8f67592d9541108c98e1ec346..c37fd235ebf66d004bc6d4c54e792de62f91fff3 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -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>