theme/templates/tags.html

Wed, 16 Oct 2019 21:52:38 +0200

author
David Douard <david.douard@sdfa3.org>
date
Wed, 16 Oct 2019 21:52:38 +0200
changeset 114
33cd55d481ba
parent 36
9507107a1133
permissions
-rw-r--r--

theme: add support for rss feed

{% extends "base.html" %}

{% block title %}{{ SITENAME }} - Tags{% endblock %}

{% block content %}
    <h1>Tags for {{ SITENAME }}</h1>
    <ul class="tag-list">
    {%- for tag, articles in tags|sort %}
        <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
    {% endfor %}
    </ul>
{% endblock %}

{% block footer %}
{% include 'credits.html' %}
{% endblock %} 

mercurial