theme/templates/category.html

changeset 36
9507107a1133
equal deleted inserted replaced
35:bb011397a99c 36:9507107a1133
1 {% extends "base.html" %}
2 {% block pageheader %}
3 <div class="hp-header" style="height:33%;">
4 <div class="page-header">
5 <div class="content-header">
6 <div id="title-block">
7 <h1 style="font-size:3em; color:white;">Articles in the {{ category }} category </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
22 {% set cnt = 0 %}
23
24
25 <blocks cols="2">
26 {% for article in articles_page.object_list %}
27 <div class="sec-article">
28 <div class="read-more">{{ article.locale_date}}</div>
29
30 <h3><a href="{{ SITEURL }}/{{ article.url }}" rel=Bookmark title="Permalink to {{ article.title | striptags }}">{{ article.title }}</a></h3>
31 <p>
32 {{ article.summary }}
33 </p>
34 </div>
35
36 {% endfor %}
37 </blocks>
38 {% if articles_page.has_other_pages() %}
39 <div class="pagination-block">
40 {% include 'pagination.html' %}
41 </div>
42 {% endif %}
43
44 {% endblock content %}
45 <!-- END CONTENT -->
46

mercurial