From 1383fee0f3ee632110259218a20fbf5446814fd2 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 6 Jun 2020 17:26:51 +0200 Subject: Refactor post headers to separate template. --- templates/section.html | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'templates/section.html') diff --git a/templates/section.html b/templates/section.html index b65fdf1..fed7472 100644 --- a/templates/section.html +++ b/templates/section.html @@ -7,23 +7,7 @@
{% for post in section.pages | reverse %}
-
- -

- - {{ post.title }} - -

-
+ {% include "posts/header.html" %}
{% if post.summary %} {{ post.summary | safe }} -- cgit v1.2.3