From ad58e02f5ce31152768cd8aef26f16601f737245 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Tue, 18 Oct 2022 20:35:57 +0100 Subject: [PATCH] add older/newer entries section to archive-entry.html template. --- templates/archive-entry.html | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/templates/archive-entry.html b/templates/archive-entry.html index a9b7af4..9258f9c 100644 --- a/templates/archive-entry.html +++ b/templates/archive-entry.html @@ -64,8 +64,44 @@

Keywords: {{ db-data.keywords | replace:, | with:" • " }}

{{data | safe}} + + +
+ {% if older-entries %} +

Previous

+ + {% endif %} + + {% if newer-entries %} +

Next

+ + {% endif %} +
+