commit c98aa05025378952e3e1e87fbd65527acba1efb3
parent 361278796b0c72457c8f795c9502e0da5c55aa97
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Tue, 30 May 2023 05:39:01 -0700
useless
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pkg/template/templates.go b/pkg/template/templates.go
@@ -153,8 +153,7 @@ LOOP:
buildTemplatesHelper(root, tmpls, prefix+"/"+page, bases, fnsMap)
continue
}
-
- page = strings.TrimSuffix(page, ".html")
+
page = strings.TrimSuffix(page, ".gohtml")
tmpl := New("_", bindata.Asset).Funcs(fnsMap)