view default/blog/item.html @ 8:7353e5c54359

blog/articles: comments are now displayed if chained, and allow_commenting activate commenting form
author Goffi <goffi@goffi.org>
date Mon, 17 Apr 2017 20:46:11 +0200
parents 9a31d2c02f47
children 8cdcbe0d7dee
line wrap: on
line source

{% block item %}
<article>
    <header>
        {% block header %}
        <div class="title">{% block blog_title %}{{ item.title_xhtml or item.title or '' }}{% endblock %}</div>
        {% endblock header %}
    </header>

    <div class="content">
        {% block content %}
        {{ item.content_xhtml or item.content or ''}}
        {% endblock content %}
    </div>
</article>
{% endblock item %}