From 09a34dda989df0f74bbfcd11ac63254d61b92a18 Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Sun, 15 Jan 2023 02:16:35 +0100 Subject: Add images support (inf scroll via htmx of images taken from user docs) This commit also includes a migration from css to scss, some improvements to the redirection workflow when no session is found and refactors concerning flash cookies. --- templates/imgs_page.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/imgs_page.html (limited to 'templates/imgs_page.html') diff --git a/templates/imgs_page.html b/templates/imgs_page.html new file mode 100644 index 0000000..665daf3 --- /dev/null +++ b/templates/imgs_page.html @@ -0,0 +1,17 @@ +{{define "imgspage"}} +{{range $i, $img := .Imgs}} + {{if eq (add $i $.Start) $.End}} +
+ {{$img.Name}}
+
+ {{else}} +
+ {{$img.Name}}
+
+ {{end}} +
+
+{{end}} +{{end}} -- cgit v1.2.3