diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-08-18 21:11:42 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-08-18 21:11:42 -0600 |
commit | 76ff79f47035c11c1e0dfcd283034b738b5c3f0d (patch) | |
tree | 43a7d9f8ca4b36e3e48ddd55eec88476ad2e18ae /srv/src/http/api.go | |
parent | 98e0c3e89c1a72aa93895dcab446e8b15a5b3511 (diff) |
add admin page, and spruce up posts and assets
Diffstat (limited to 'srv/src/http/api.go')
-rw-r--r-- | srv/src/http/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/srv/src/http/api.go b/srv/src/http/api.go index 4143200..4ba6450 100644 --- a/srv/src/http/api.go +++ b/srv/src/http/api.go @@ -217,6 +217,7 @@ func (a *api) blogHandler() http.Handler { mux.Handle("/static/", http.FileServer(http.FS(staticFS))) mux.Handle("/follow", a.renderDumbTplHandler("follow.html")) + mux.Handle("/admin", a.renderDumbTplHandler("admin.html")) mux.Handle("/mailinglist/unsubscribe", a.renderDumbTplHandler("unsubscribe.html")) mux.Handle("/mailinglist/finalize", a.renderDumbTplHandler("finalize.html")) mux.Handle("/feed.xml", a.renderFeedHandler()) |