Sat, 09 Oct 2021 16:52:19 +0200
HP34970A - part 6
36
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
1 | {% extends "base.html" %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
2 | {% block pageheader %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
3 | <div class="hp-header-inner"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
4 | <div class="page-header"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
5 | <div class="content-header"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
6 | <div id="title-block"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
7 | <h1>Articles tagged with {{ tag }} </h1> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
8 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
9 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
10 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
11 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
12 | {% endblock %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
13 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
14 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
15 | {% block content %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
16 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
17 | {% block content_title %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
18 | {% endblock %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
19 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
20 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
21 | {% set cnt = 0 %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
22 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
23 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
24 | <blocks cols="2"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
25 | {% for article in articles_page.object_list %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
26 | <div class="sec-article"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
27 | <div class="read-more">{{ article.locale_date}}</div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
28 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
29 | <h3><a href="{{ SITEURL }}/{{ article.url }}" rel=Bookmark title="Permalink to {{ article.title | striptags }}">{{ article.title }}</a></h3> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
30 | <p> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
31 | {{ article.summary }} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
32 | </p> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
33 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
34 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
35 | {% endfor %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
36 | </blocks> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
37 | {% if articles_page.has_other_pages() %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
38 | <div class="pagination-block"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
39 | {% include 'pagination.html' %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
40 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
41 | {% endif %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
42 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
43 | {% endblock content %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
44 | <!-- END CONTENT --> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
45 |