theme/templates/tag.html

changeset 36
9507107a1133
equal deleted inserted replaced
35:bb011397a99c 36:9507107a1133
1 {% extends "base.html" %}
2 {% block pageheader %}
3 <div class="hp-header-inner">
4 <div class="page-header">
5 <div class="content-header">
6 <div id="title-block">
7 <h1>Articles tagged with {{ tag }} </h1>
8 </div>
9 </div>
10 </div>
11 </div>
12 {% endblock %}
13
14
15 {% block content %}
16
17 {% block content_title %}
18 {% endblock %}
19
20
21 {% set cnt = 0 %}
22
23
24 <blocks cols="2">
25 {% for article in articles_page.object_list %}
26 <div class="sec-article">
27 <div class="read-more">{{ article.locale_date}}</div>
28
29 <h3><a href="{{ SITEURL }}/{{ article.url }}" rel=Bookmark title="Permalink to {{ article.title | striptags }}">{{ article.title }}</a></h3>
30 <p>
31 {{ article.summary }}
32 </p>
33 </div>
34
35 {% endfor %}
36 </blocks>
37 {% if articles_page.has_other_pages() %}
38 <div class="pagination-block">
39 {% include 'pagination.html' %}
40 </div>
41 {% endif %}
42
43 {% endblock content %}
44 <!-- END CONTENT -->
45

mercurial