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

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

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

	p.TemplateFuncs(templateFuncs)
	registerRoutes(&p)

	alps.RegisterPluginLoader(p.Loader())
}