Mercurial > libervia-templates
view default/blog/item.html @ 25:b046a7835374
base/base.html: if norobots is set, add a <meta> to tell robots no to index or follow this page.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Jun 2017 20:20:51 +0200 |
parents | 2496887339f6 |
children | 69a2e3bf5e17 |
line wrap: on
line source
{% block item %} <article id="{{ item.id }}" class="box" onclick="this.classList.toggle('clicked')"> <header> {% block header %} <div class="title">{% block blog_title %}{{ item.title_xhtml or item.title or '' }}{% endblock %}</div> {% block metadata %} <div class="metadata"> <span class="author">{{identities[item.author_jid].nick | default(item.author)}}</span> <span class="blog_data">{{item.published | blog_date}}</span> </div> {% endblock metadata %} {% endblock header %} </header> <div class="content"> {% block content %} {{ item.content_xhtml or item.content or ''}} {% endblock content %} </div> <div class="expand_box"> <p> {% trans %}Click to to expand…{% endtrans %} </p> </div> </article> {% endblock item %}