summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index 860bf9e..c34e4bd 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -17,6 +17,22 @@
<h1>comics.spline.de </h1>
<div id="content">
+ {%- if next or prev %}
+ <div id="pagination">
+ {% if prev %}
+ <a class="prev" href="{{ prev.strftime("/sites/%Y/%m/%d.html") }}">
+ &larr; fr&uuml;her
+ </a>
+ {% endif -%}
+
+ {%- if next %}
+ <a class="next" href="{{ next.strftime("/sites/%Y/%m/%d.html") }}">
+ sp&auml;ter &rarr;
+ </a>
+ {% endif %}
+ </div>
+ {% endif %}
+
<h1>{{date.day}}.{{date.month}}.{{date.year}}</h1>
{%- for entry in entries %}