aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/plugin.go
blob: 57439775f6e99895e80d66cae2a351c0ced39b95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package koushinbase

import (
	"git.sr.ht/~emersion/koushin"
)

func init() {
	p := koushin.GoPlugin{Name: "base"}

	p.TemplateFuncs(templateFuncs)
	registerRoutes(&p)

	koushin.RegisterPluginLoader(p.Loader())
}