new: Added post search module

This commit is contained in:
yv1ing
2024-12-17 16:15:51 +08:00
parent 3c8f03b8b8
commit 64d139d92a
26 changed files with 590608 additions and 11 deletions

View File

@@ -2,6 +2,7 @@ package mApp
func (ma *MApp) loadRoutes() {
ma.engine.GET("/", ma.IndexHandler)
ma.engine.GET("/search", ma.SearchHandler)
ma.engine.GET("/archive", ma.ArchiveHandler)
ma.engine.GET("/post/:hash", ma.PostHandler)
ma.engine.GET("/tag/:hash", ma.TagHandler)