aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/base-jinja/templates/author.tmpl
blob: 4d8a876ec66a2602ac8dfaba163354c52824fbb5 (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
26
27
28
{#  -*- coding: utf-8 -*- #}
{% extends 'list_post.tmpl' %}
{% import 'feeds_translations_helper.tmpl' as feeds_translations with context %}

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

{% block content %}
<article class="authorpage">
    <header>
        <h1>{{ title|e }}</h1>
        {% if description %}
            <p>{{ description }}</p>
        {% endif %}
        <div class="metadata">
            {{ feeds_translations.feed_link(author, kind) }}
        </div>
    </header>
    {% if posts %}
        <ul class="postlist">
            {% for post in posts %}
                <li><time class="listdate" datetime="{{ post.formatted_date('webiso') }}" title="{{ post.formatted_date(date_format)|e }}">{{ post.formatted_date(date_format)|e }}</time> <a href="{{ post.permalink() }}" class="listtitle">{{ post.title()|e }}</a></li>
            {% endfor %}
        </ul>
    {% endif %}
</article>
{% endblock %}