From 9beb127bb511b94998c5d236553e58a9fb1c4636 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 7 Jul 2020 15:51:57 +0200 Subject: Add authors as taxonomies. Makes more sence, and allows users to subscribe to author feeds. --- templates/authors/single.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 templates/authors/single.html (limited to 'templates/authors/single.html') 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 %} +

{{ trans(key="posts_by", lang=lang) }} {{ term.name }}

+ +{% for post in term.pages %} +
+ {% include "posts/header.html" %} +
+ {% if post.summary %} + {{ post.summary | safe }} + {% else %} + {{ post.content | safe }} + {% endif %} +
+ +
+{% endfor %} +{% endblock content %} -- cgit v1.2.3