new: Added new category pages and related modules

This commit is contained in:
2024-12-17 13:54:46 +08:00
parent a0644595ea
commit 474bf3e6bb
4 changed files with 216 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ func (ma *MApp) loadRoutes() {
ma.engine.GET("/archive", ma.ArchiveHandler)
ma.engine.GET("/post/:hash", ma.PostHandler)
ma.engine.GET("/tag/:hash", ma.TagHandler)
ma.engine.GET("/category/:hash", ma.CategoryHandler)
ma.engine.PUT("/update", ma.UpdateBlogHandler)
}