view default/blog/articles.html @ 51:102356338118

input(comment): new macro comment_or_login: this macro allow to comment if a session is started, else redirect to login/registration page
author Goffi <goffi@goffi.org>
date Fri, 27 Oct 2017 18:52:34 +0200
parents f19e9f5e43b0
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 %}