14 lines
201 B
Go
14 lines
201 B
Go
package alpsbase
|
|
|
|
import (
|
|
"git.sr.ht/~emersion/alps"
|
|
)
|
|
|
|
func init() {
|
|
p := alps.GoPlugin{Name: "base"}
|
|
|
|
p.TemplateFuncs(templateFuncs)
|
|
registerRoutes(&p)
|
|
|
|
alps.RegisterPluginLoader(p.Loader())
|
|
}
|