Mercurial > libervia-templates
annotate default/blog/articles.html @ 49:f19e9f5e43b0
blog: moved items rendering to a macro + handle new date filter + handle identities
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Oct 2017 18:50:19 +0200 |
parents | f8798d691acf |
children | 650f3456f80d |
rev | line source |
---|---|
10
8b5615a1bf3d
articles, input: use new embedding mechanism in articles + new macros to build forms and inputs
Goffi <goffi@goffi.org>
parents:
8
diff
changeset
|
1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
49
f19e9f5e43b0
blog: moved items rendering to a macro + handle new date filter + handle identities
Goffi <goffi@goffi.org>
parents:
43
diff
changeset
|
2 {% set dates_format='relative' %} |
f19e9f5e43b0
blog: moved items rendering to a macro + handle new date filter + handle identities
Goffi <goffi@goffi.org>
parents:
43
diff
changeset
|
3 {% import 'blog/macros.html' as blog with context %} |
0 | 4 |
5 {% block body %} | |
6 <div id="blog_items"> | |
49
f19e9f5e43b0
blog: moved items rendering to a macro + handle new date filter + handle identities
Goffi <goffi@goffi.org>
parents:
43
diff
changeset
|
7 {{ blog.show_items(items) }} |
0 | 8 </div> |
9 {% endblock body %} |