view default/blog/articles.html @ 49:f19e9f5e43b0

blog: moved items rendering to a macro + handle new date filter + handle identities
author Goffi <goffi@goffi.org>
date Fri, 27 Oct 2017 18:50:19 +0200
parents f8798d691acf
children 650f3456f80d
line wrap: on
line source

{% if not embedded %}{% extends 'base/base.html' %}{% endif %}
{% set dates_format='relative' %}
{% import 'blog/macros.html' as blog with context %}

{% block body %}
<div id="blog_items">
    {{ blog.show_items(items) }}
</div>
{% endblock body %}