first draft of posting to a topic (including preview)

This commit is contained in:
2026-01-01 22:41:43 -07:00
parent c958bc5826
commit 3eb0f6a259
5 changed files with 302 additions and 5 deletions
+1
View File
@@ -99,6 +99,7 @@ func setupEcho() *echo.Echo {
confGroup.GET("/new_topic", ui.AmWrap(NewTopicForm))
confGroup.POST("/new_topic", ui.AmWrap(NewTopic))
confGroup.GET("/r/:topic", ui.AmWrap(ReadPosts))
confGroup.POST("/r/:topic", ui.AmWrap(PostInTopic))
return e
}