summaryrefslogtreecommitdiffstats
path: root/templates/authors/single.html
blob: f61ac4b141d04374141f531ac7013a3f8e147760 (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
{% extends "base.html" %}
{% block content %}
	<h1 class="author">{{ trans(key="posts_by", lang=lang) }} {{ term.name }}</h1>

{% for post in term.pages %}
	<article class="post">
		{% include "posts/header.html" %}
		<section class="post-summary">
			{% if post.summary %}
				{{ post.summary | safe }}
			{% else %}
				{{ post.content | safe }}
			{% endif %}
		</section>
		<footer>
			{% if post.summary %}
				<a href="{{ post.permalink }}">
					{{ trans(key="moreprompt", lang=post.lang) }}
				</a>
			{% endif %}
		</footer>
	</article>
{% endfor %}
{% endblock content %}