view default/blog/item.html @ 7:f1c773126f23

input/comments: comments input macros, first draft
author Goffi <goffi@goffi.org>
date Mon, 17 Apr 2017 20:45:09 +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 %}