|
@@ -13,7 +13,9 @@ import (
|
|
|
type Props map[string]any
|
|
|
type Funcs = template.FuncMap
|
|
|
|
|
|
-var Include func(req *srv.Req, props Props, funcs Funcs)
|
|
|
+func include(req *srv.Req, props Props, funcs Funcs) {}
|
|
|
+
|
|
|
+var Include = include
|
|
|
|
|
|
func Template(fp string, req *srv.Req, propFunc ...interface{}) string {
|
|
|
if !strings.Contains(fp, "app/") {
|