aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/tag.html
blob: 101a22db5e3c1fc8823ade83889ec434cc3de6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - «{{ tag }}»{% endblock %}

{% block content %}
 <h1 class="page_title">Articles avec le mot-clef «&thinsp;{{ tag }}&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 %}
 {% endif %}
 {% include 'navigator.html' %}

 {% if TAG_FEED_RSS %}
    <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS % tag|e|lower}}" ><img src="../theme/images/rss.png" /></a>
 {% endif %}

 {% if TAG_FEED_ATOM %}
    <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM % tag|e|lower}}" ><img src="../theme/images/atom.png" /></a>
 {% endif %}

 {% endblock %}