diff --git a/src/pkg/tplx/tplx.go b/src/pkg/tplx/tplx.go index f1178884..90380b71 100644 --- a/src/pkg/tplx/tplx.go +++ b/src/pkg/tplx/tplx.go @@ -16,6 +16,7 @@ var TemplateFuncMap = template.FuncMap{ "match": regexp.MatchString, "toUpper": strings.ToUpper, "toLower": strings.ToLower, + "contains": strings.Contains, "humanize": Humanize, "humanize1024": Humanize1024, "humanizeDuration": HumanizeDuration,