summaryrefslogtreecommitdiffstats
path: root/templates/authors/single.html
blob: 5acc50f8dc8e4b07aaf5ff0676aa9cc5b06ac30b (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
29
{% extends "base.html" %}
{% block opengraph %}
		<meta property="og:title" content="{{ term.name }}">
		<meta property="og:type" content="profile">
		<meta property="og:url" content="{{ term.permalink | safe }}">
{% endblock opengraph %}
{% 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 %}