{% extends 'layout.html' %} {% macro render_link(obj) %} View {% endmacro %} {% macro render_post(article) %}

{{ article.title }}

{{ article.date_added|date_pretty }} | {{ article.category }}

{{ article.content | markdown | truncate(10) }}


{{ render_link(article) }}
{% endmacro %} {% block header %} {% include 'header.html' with context %} {% endblock header %} {% block body %} {% if articles %} {% for a in articles %} {{ render_post(a) }} {% endfor %} {% endif %} {% endblock body %} {% block footer_js %} {{ super() }} {% endblock footer_js %}