aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-07-17 19:37:26 +0000
committerFuwn <[email protected]>2021-07-17 19:37:26 +0000
commit140ebf7884cc670d90de3f6f611ebd75aca5ac15 (patch)
tree3d90ef88f63b28c6787738a372708918e4584022
parentfix(route): blog route to non-ext (diff)
downloadspace-140ebf7884cc670d90de3f6f611ebd75aca5ac15.tar.xz
space-140ebf7884cc670d90de3f6f611ebd75aca5ac15.zip
fix(handler): tech blog route
-rw-r--r--content/pages/blog/tech/hello-world.gmi (renamed from content/pages/blog/hello-world.gmi)0
-rw-r--r--handler.go2
2 files changed, 1 insertions, 1 deletions
diff --git a/content/pages/blog/hello-world.gmi b/content/pages/blog/tech/hello-world.gmi
index de47594..de47594 100644
--- a/content/pages/blog/hello-world.gmi
+++ b/content/pages/blog/tech/hello-world.gmi
diff --git a/handler.go b/handler.go
index c426eb8..a83ecee 100644
--- a/handler.go
+++ b/handler.go
@@ -17,7 +17,7 @@ func routes() {
createRoute("/gemini", "default.gmi", "pages/gemini.gmi")
// TODO: Iterate over content/pages/blog directory to automate blog routing
- createBlogRoute("/tech", "pages/blog", "Tech")
+ createBlogRoute("/tech", "pages/blog/tech", "Tech")
createBlogHandler("/blog")
}