aboutsummaryrefslogtreecommitdiff
path: root/handler.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-07-20 14:08:44 +0000
committerFuwn <[email protected]>2021-07-20 14:08:44 +0000
commit11730e4cf8da69b627134f211d5238ebcece6aa4 (patch)
treea35cb948482436707280cd46c530d8731a73e9ce /handler.go
parentfix(blog): pl/golang creation date (diff)
downloadspace-11730e4cf8da69b627134f211d5238ebcece6aa4.tar.xz
space-11730e4cf8da69b627134f211d5238ebcece6aa4.zip
feat(pages): gopher
Diffstat (limited to 'handler.go')
-rw-r--r--handler.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/handler.go b/handler.go
index d17ff46..cf80280 100644
--- a/handler.go
+++ b/handler.go
@@ -10,11 +10,13 @@ func handle() {
}
func routes() {
+ // TODO: Automate this
createRoute("/", "default.gmi", "pages/index.gmi")
createRoute("/skills", "default.gmi", "pages/skills.gmi")
createRoute("/interests", "default.gmi", "pages/interests.gmi")
createRoute("/contact", "default.gmi", "pages/contact.gmi")
createRoute("/gemini", "default.gmi", "pages/gemini.gmi")
+ createRoute("/gopher", "default.gmi", "pages/gopher.gmi")
// TODO: Iterate over content/pages/blog directory to automate blog routing
createBlogRoute("/programming_languages", "pages/blog/programming_languages", "Programming Languages", false, noDateNoShow)