From 9d114262053fe91bca8077773ed5908e1d9e8696 Mon Sep 17 00:00:00 2001 From: Nikolas Date: Mon, 28 Oct 2024 18:16:08 +0200 Subject: index: add photos section --- templates/photos.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/photos.html (limited to 'templates/photos.html') diff --git a/templates/photos.html b/templates/photos.html new file mode 100644 index 0000000..8c55339 --- /dev/null +++ b/templates/photos.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} {% block body %} +

{{ section.title }}

+{% for page in paginator.pages %} +
+ + {{page.extra.caption}} + +
{{page.extra.caption}}
+
+{% endfor %} {% if paginator.previous or paginator.next%} +
+ Previous + {{ paginator.current_index }} + Next +
+{% endif %} {% endblock body %} -- cgit v1.2.3