minitmpl/functions/functions.go

14 lines
175 B
Go

package functions
import "html/template"
func FuncMap() template.FuncMap {
return template.FuncMap{
"title": Title,
"split": Split,
"domain": GetDomainName,
}
}