diff options
Diffstat (limited to 'templates/archive.html')
-rw-r--r-- | templates/archive.html | 19 |
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> |