new: Added new category pages and related modules

This commit is contained in:
yv1ing
2024-12-17 13:54:46 +08:00
parent 3e97e42694
commit 3c8f03b8b8
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)
}