summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl/admin.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-08-18 21:11:42 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-08-18 21:11:42 -0600
commit76ff79f47035c11c1e0dfcd283034b738b5c3f0d (patch)
tree43a7d9f8ca4b36e3e48ddd55eec88476ad2e18ae /srv/src/http/tpl/admin.html
parent98e0c3e89c1a72aa93895dcab446e8b15a5b3511 (diff)
add admin page, and spruce up posts and assets
Diffstat (limited to 'srv/src/http/tpl/admin.html')
-rw-r--r--srv/src/http/tpl/admin.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/srv/src/http/tpl/admin.html b/srv/src/http/tpl/admin.html
new file mode 100644
index 0000000..24b2770
--- /dev/null
+++ b/srv/src/http/tpl/admin.html
@@ -0,0 +1,17 @@
+{{ define "body" }}
+
+<h1>Admin</h1>
+
+This is a directory of pages which are used for managing blog content. They are
+mostly left open to inspection, but you will not able to change
+anything without providing credentials.
+
+<ul>
+ <li><a href="{{ BlogURL "posts" }}">Posts</a></li>
+ <li><a href="{{ BlogURL "assets" }}">Assets</a></li>
+</ul>
+
+{{ end }}
+
+{{ template "base.html" . }}
+