16 lines
235 B
Go
16 lines
235 B
Go
package koushinbase
|
|
|
|
import (
|
|
"git.sr.ht/~emersion/koushin"
|
|
)
|
|
|
|
const messagesPerPage = 50
|
|
|
|
func init() {
|
|
p := koushin.GoPlugin{Name: "base"}
|
|
|
|
p.TemplateFuncs(templateFuncs)
|
|
registerRoutes(&p)
|
|
|
|
koushin.RegisterPlugin(p.Plugin())
|
|
}
|