{%- extends "page.html" %} {% macro postlink(post) -%} {% if post.external_link -%} {{- post.external_link -}} {% else %} {{- pathto(post.docname) }}{{ anchor(post) -}} {%- endif %} {%- endmacro %} {% block body %} {% for collection in catalog %} {% if collection %}

{{ header }} {{ collection }}

{% for post in collection %}

{% if post.published %} {{ post.date.strftime(ablog.post_date_format) }} {% else %} Draft {% endif %} - {{ post.title }}

{% endfor %}
{% endif %} {% endfor %} {% endblock %}