comparison default/blog/item.html @ 20:8fa2fd2e928e

default: added i18n support
author Goffi <goffi@goffi.org>
date Sun, 21 May 2017 16:10:44 +0200
parents 8cdcbe0d7dee
children 2496887339f6
comparison
equal deleted inserted replaced
19:422c54e0204a 20:8fa2fd2e928e
1 {% import 'script/css.js' as css %}
2
3 {% block item %} 1 {% block item %}
4 <article id="{{ item.id }}" class="box" onclick="this.classList.toggle('clicked')"> 2 <article id="{{ item.id }}" class="box" onclick="this.classList.toggle('clicked')">
5 <header> 3 <header>
6 {% block header %} 4 {% block header %}
7 <div class="title">{% block blog_title %}{{ item.title_xhtml or item.title or '' }}{% endblock %}</div> 5 <div class="title">{% block blog_title %}{{ item.title_xhtml or item.title or '' }}{% endblock %}</div>
21 {% endblock content %} 19 {% endblock content %}
22 </div> 20 </div>
23 21
24 <div class="expand_box"> 22 <div class="expand_box">
25 <p> 23 <p>
26 Click to to expand… 24 {% trans %}Click to to expand…{% endtrans %}
27 </p> 25 </p>
28 </div> 26 </div>
29 </article> 27 </article>
30 {% endblock item %} 28 {% endblock item %}