aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/base-jinja/templates/authors.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/data/themes/base-jinja/templates/authors.tmpl')
-rw-r--r--nikola/data/themes/base-jinja/templates/authors.tmpl25
1 files changed, 25 insertions, 0 deletions
diff --git a/nikola/data/themes/base-jinja/templates/authors.tmpl b/nikola/data/themes/base-jinja/templates/authors.tmpl
new file mode 100644
index 0000000..c8e05ff
--- /dev/null
+++ b/nikola/data/themes/base-jinja/templates/authors.tmpl
@@ -0,0 +1,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 %}