summaryrefslogtreecommitdiffstats
path: root/templates/authors/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/authors/single.html')
-rw-r--r--templates/authors/single.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/authors/single.html b/templates/authors/single.html
new file mode 100644
index 0000000..f61ac4b
--- /dev/null
+++ b/templates/authors/single.html
@@ -0,0 +1,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 %}