diff options
| author | Fuwn <[email protected]> | 2021-07-17 10:58:26 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-07-17 10:58:26 +0000 |
| commit | c0cda289d92e75daa599cb7513681103e0a2db57 (patch) | |
| tree | 3617b5e7918ff9aa642374ae5f5e5c15842d6edd /handler.go | |
| parent | fix(templates): add blog quick link (diff) | |
| download | space-c0cda289d92e75daa599cb7513681103e0a2db57.tar.xz space-c0cda289d92e75daa599cb7513681103e0a2db57.zip | |
feat(route): blog handler for multi-blog support
Diffstat (limited to 'handler.go')
| -rw-r--r-- | handler.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -15,7 +15,9 @@ func routes() { createRoute("/interests", "default.gmi", "pages/interests.gmi") createRoute("/contact", "default.gmi", "pages/contact.gmi") createRoute("/gemini", "default.gmi", "pages/gemini.gmi") - createBlogRoute("/blog", "pages/blog") + + createBlogRoute("/tech", "pages/blog", "Tech") + createBlogHandler("/blog") } func errors() { |