aboutsummaryrefslogtreecommitdiff
path: root/templates/imgs.html
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2023-01-15 02:16:35 +0100
committerJulian Hurst <ark@mansus.space>2023-01-15 02:16:35 +0100
commit09a34dda989df0f74bbfcd11ac63254d61b92a18 (patch)
treea62769481ceea1cd235b60c930a50e7a7c5a49e0 /templates/imgs.html
parent7d502441a6bd210aff8a8625ee87ea5a1fbbd7ee (diff)
downloaddocspace-09a34dda989df0f74bbfcd11ac63254d61b92a18.tar.gz
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.
Diffstat (limited to 'templates/imgs.html')
-rw-r--r--templates/imgs.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/imgs.html b/templates/imgs.html
new file mode 100644
index 0000000..9b584a8
--- /dev/null
+++ b/templates/imgs.html
@@ -0,0 +1,6 @@
+{{define "title"}}Acceuil{{end}}
+{{define "content"}}
+ <h1>Images</h1>
+ {{template "imgspage" .}}
+ <span>{{.NbFiles}} images</span>
+{{end}}