{% extends "_templates_/base.html" %} {% block title %} {! site.title !} | Posts {% endblock %} {% block main %} {%- for task in posts | sort(attribute='content.updated', reverse=True)| sort(attribute='content.created', reverse=True) %} {% set post = task.content.render(ctx) %}

{{ task.content.title or task.content.created.strftime('%Y-%m-%d') }}

{{ post.preview_html or post.html }}

{% if post.preview_html %} Read More {% endif %}

{% if not loop.last -%}
{%- endif %} {%- endfor %} {% endblock %}