summary refs log tree commit diff homepage
path: root/templates/archive.html
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-06-01 02:09:01 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-06-01 02:09:01 +0900
commitf23c6ed4f84055551b459d235c4a675faf017cea (patch)
treeb8acbb342591aa959948a7888c15b282c201db02 /templates/archive.html
parentc2cb66ad1830d1394c5d6c1dfa2e75ef7e23072b (diff)
downloadphylactery-f23c6ed4f84055551b459d235c4a675faf017cea.tar.gz
Draft basic CBZ rendering
Diffstat (limited to 'templates/archive.html')
-rw-r--r--templates/archive.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/archive.html b/templates/archive.html
new file mode 100644
index 0000000..d3d8e0b
--- /dev/null
+++ b/templates/archive.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang=en>
+<meta charset=utf-8>
+<link rel=stylesheet href=/static/archive.css>
+<link rel=icon href=/static/favicon.svg>
+<title>{{.Title}}</title>
+<style>
+body { margin: 0 }
+img {
+    display: block;
+    margin: auto;
+    max-width: 100%;
+}
+</style>
+
+<body>{{range .Entries}}
+<img src="?entry={{.Index}}" alt="{{.Name}}">{{end}}
+</body>
+</html>