added post link rewriter template function

This commit is contained in:
2025-11-06 21:53:53 -07:00
parent b3aab265fb
commit 038b3c7adb
5 changed files with 83 additions and 6 deletions
+1
View File
@@ -50,6 +50,7 @@ func setupEcho() *echo.Echo {
e.POST("/TODO/*", fn)
e.GET("/img/*", ui.AmWrap(ui.AmServeImage))
e.GET("/static/*", ui.AmStaticFileHandler())
e.GET("/go/:postlink", fn)
e.GET("/", ui.AmWrap(TopPage))
e.GET("/about", ui.AmWrap(AboutPage))