aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/base-jinja/templates/authors.tmpl
blob: c8e05ffca74b92948e676f4f1be358e0045010ee (plain) (blame)
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
{#  -*- coding: utf-8 -*- #}
{% extends 'base.tmpl' %}
{% import 'feeds_translations_helper.tmpl' as feeds_translations with context %}

{% block extra_head %}
    {{ feeds_translations.head(kind=kind, feeds=False) }}
{% endblock %}

{% block content %}
<article class="authorindex">
    {% if items %}
        <h2>{{ messages("Authors") }}</h2>
        <div class="metadata">
            {{ feeds_translations.translation_link(kind) }}
        </div>
        <ul class="postlist">
        {% for text, link in items %}
            {% if text not in hidden_authors %}
                <li><a class="reference listtitle" href="{{ link }}">{{ text|e }}</a></li>
            {% endif %}
        {% endfor %}
        </ul>
    {% endif %}
</article>
{% endblock %}