summary refs log tree commit diff homepage
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/archive.html19
-rw-r--r--templates/index.html1
2 files changed, 20 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>
diff --git a/templates/index.html b/templates/index.html
index 39785aa..67f96fb 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -3,6 +3,7 @@
 <meta charset=utf-8>
 <meta name=viewport content='width=device-width, initial-scale=1'>
 <link rel=stylesheet href=/static/style.css>
+<link rel=icon href=/static/favicon.svg>
 <title>{{.}}</title>
 <body>
 </body>