theme/templates/tag.html

Fri, 02 Mar 2018 01:12:42 +0100

author
David Douard <david.douard@logilab.fr>
date
Fri, 02 Mar 2018 01:12:42 +0100
changeset 90
3a2040f53c9f
parent 36
9507107a1133
permissions
-rw-r--r--

[eip545b] typo

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

mercurial