aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/bootstrap4/templates/authors.tmpl
blob: 300377d1e99552a2b5eaa7d1c452e79fb601bedc (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 -*-
<%inherit file="base.tmpl"/>
<%namespace name="feeds_translations" file="feeds_translations_helper.tmpl" import="*"/>

<%block name="extra_head">
    ${feeds_translations.head(kind=kind, feeds=False)}
</%block>

<%block name="content">
% if items:
    <h2>${messages("Authors")}</h2>
    <div class="metadata">
        ${feeds_translations.translation_link(kind)}
    </div>
% endif
% if items:
    <ul class="list-inline">
    % for text, link in items:
        % if text not in hidden_authors:
            <li><a class="reference badge" href="${link}">${text|h}</a></li>
        % endif
    % endfor
    </ul>
% endif
</%block>