aboutsummaryrefslogtreecommitdiff
path: root/handler.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-07-17 11:01:34 +0000
committerFuwn <[email protected]>2021-07-17 11:01:34 +0000
commit834f45cd13c1b3d30a5229d8aa7ca28bf1cc80cd (patch)
tree2d68f021158d3f9e7b5d961872f5e2bf97f1b56c /handler.go
parentrefactor(route): move hit ticker to db layer (diff)
downloadspace-834f45cd13c1b3d30a5229d8aa7ca28bf1cc80cd.tar.xz
space-834f45cd13c1b3d30a5229d8aa7ca28bf1cc80cd.zip
docs(handler): add todo for automation
Diffstat (limited to 'handler.go')
-rw-r--r--handler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/handler.go b/handler.go
index 2fb31f2..c426eb8 100644
--- a/handler.go
+++ b/handler.go
@@ -16,6 +16,7 @@ func routes() {
createRoute("/contact", "default.gmi", "pages/contact.gmi")
createRoute("/gemini", "default.gmi", "pages/gemini.gmi")
+ // TODO: Iterate over content/pages/blog directory to automate blog routing
createBlogRoute("/tech", "pages/blog", "Tech")
createBlogHandler("/blog")
}