Mercurial > libervia-templates
annotate 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 |
rev | line source |
---|---|
0 | 1 {% block item %} |
16
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
2 <article id="{{ item.id }}" class="box" onclick="this.classList.toggle('clicked')"> |
0 | 3 <header> |
4 {% block header %} | |
5 <div class="title">{% block blog_title %}{{ item.title_xhtml or item.title or '' }}{% endblock %}</div> | |
16
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
6 {% block metadata %} |
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
7 <div class="metadata"> |
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
8 <span class="author">{{item.author}}</span> |
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
9 <span class="blog_data">{{item.published | blog_date}}</span> |
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
10 </div> |
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
11 |
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
12 {% endblock metadata %} |
0 | 13 {% endblock header %} |
14 </header> | |
15 | |
16 <div class="content"> | |
17 {% block content %} | |
18 {{ item.content_xhtml or item.content or ''}} | |
19 {% endblock content %} | |
20 </div> | |
16
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
21 |
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
22 <div class="expand_box"> |
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
23 <p> |
20 | 24 {% trans %}Click to to expand…{% endtrans %} |
16
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
25 </p> |
8cdcbe0d7dee
blog: various appareance improvments:
Goffi <goffi@goffi.org>
parents:
0
diff
changeset
|
26 </div> |
0 | 27 </article> |
28 {% endblock item %} |