2019-12-16 11:51:42 +00:00
|
|
|
package koushinbase
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.sr.ht/~emersion/koushin"
|
|
|
|
)
|
|
|
|
|
|
|
|
const messagesPerPage = 50
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
p := koushin.GoPlugin{Name: "base"}
|
|
|
|
|
2019-12-17 10:28:47 +00:00
|
|
|
p.TemplateFuncs(templateFuncs)
|
2019-12-17 10:36:08 +00:00
|
|
|
registerRoutes(&p)
|
2019-12-16 16:45:20 +00:00
|
|
|
|
2019-12-16 11:51:42 +00:00
|
|
|
koushin.RegisterPlugin(p.Plugin())
|
|
|
|
}
|