about summary refs log tree commit diff homepage
path: root/templates/archive-page.html
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-06-28 17:49:14 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-06-28 17:49:14 +0900
commita2abfc596965111c28ea43d9ab986732692e022f (patch)
tree5e60fe2d301a9e9e98af33ed953037db852e7da9 /templates/archive-page.html
parent5ba68fae053ccabc3161ee4f80963ac0c47ddaf2 (diff)
downloadphylactery-a2abfc596965111c28ea43d9ab986732692e022f.tar.gz
Write response as soon as data is ready
Previously the entire archive had to be read before the template
is executed, thus large archives takes forever to render
from slow backing FS.
Diffstat (limited to 'templates/archive-page.html')
-rw-r--r--templates/archive-page.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/archive-page.html b/templates/archive-page.html
new file mode 100644
index 0000000..8011ece
--- /dev/null
+++ b/templates/archive-page.html
@@ -0,0 +1 @@
+    <img src="?entry={{.Index}}" alt="{{.Name}}">