aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..357a8a8
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>Photo Gallery</title>
+<style>{{.CSS}}</style>
+</head>
+<body>
+<div class="container">
+<h1>📷 Photo Gallery</h1>
+{{if .Names}}
+<ul class="gallery-list">
+{{range .Names}}<li><a href="/g/{{.}}">{{.}}</a></li>{{end}}
+</ul>
+{{else}}
+<p>No galleries yet.</p>
+{{end}}
+</div>
+</body>
+</html>