summaryrefslogtreecommitdiff
path: root/theme/templates/category.html
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2013-05-09 14:40:47 +0200
committerSébastien Dailly <sebastien@chimrod.com>2013-05-09 14:41:31 +0200
commitc1f9a31f0c8d6a75e8ab902720f0c4c4830ba6fc (patch)
tree3b102fb68ddcbef8c93fb2fad4c9a16f7d541247 /theme/templates/category.html
parent302756ec2b2712faf049ea7de5f094c09816d2c9 (diff)
Updated theme
Diffstat (limited to 'theme/templates/category.html')
-rwxr-xr-xtheme/templates/category.html12
1 files changed, 3 insertions, 9 deletions
diff --git a/theme/templates/category.html b/theme/templates/category.html
index f3588eb..30284ca 100755
--- a/theme/templates/category.html
+++ b/theme/templates/category.html
@@ -1,18 +1,12 @@
{% extends "base.html" %}
-{% block title %}{{ SITENAME }} - {{ category}}{% endblock %}
+{% block title %}{{ SITENAME }} - {{ category }}{% endblock %}
{% block content %}
<h1 class="page_title">Articles dans la catégorie «&thinsp;{{ category }}&thinsp;»</h1>
{% if articles %}
- {% for article in (articles_page.object_list if articles_page else articles) %}
- {% import 'abstract.html' as abstract with context %}
- {{ abstract.abstract(article, "h2") }}
- {% if not loop.last %}
- <hr>
- {% endif %}
- {% endfor %}
+ {% import 'abstract.html' as abstract with context %}
+ {{ abstract.abstract("h2") }}
{% endif %}
- {% include 'navigator.html' %}
{% if CATEGORY_FEED_RSS %}
<a href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS % category|e|lower}}" ><img src="../theme/images/rss.png" /></a>