aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/tag.html
blob: dbe2d82ca88755f036980531df1558fbf180acff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% 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 %}
    {% import 'abstract.html' as abstract with context %}
    {{ abstract.abstract("h2") }}
 {% endif %}

 {% if TAG_FEED_RSS %}
    <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS.format(slug = page_name|replace("tag/", "")|e|lower)}}" ><img src="../theme/images/rss.png" /></a>
 {% endif %}

 {% if TAG_FEED_ATOM %}
    <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM.format(slug = page_name|replace("tag/", "")|e|lower)}}" ><img src="../theme/images/atom.png" /></a>
 {% endif %}

 {% endblock %}