aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-09 20:02:40 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-09 20:02:40 +0800
commit990cc08481ab4b1b2cf408a16f374e3e83f86643 (patch)
treeff9c272f0a6246e654f8e9a1db4b41360d6e1c29
parentmain: Add pprof listener for performance debugging (diff)
downloadforge-990cc08481ab4b1b2cf408a16f374e3e83f86643.tar.gz
forge-990cc08481ab4b1b2cf408a16f374e3e83f86643.tar.zst
forge-990cc08481ab4b1b2cf408a16f374e3e83f86643.zip
*: Reformat
Diffstat (limited to '')
-rw-r--r--resources.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources.go b/resources.go
index a25ddd6..63a93af 100644
--- a/resources.go
+++ b/resources.go
@@ -37,7 +37,7 @@ var templates *template.Template
func load_templates() (err error) {
m := minify.New()
- m.Add("text/html", &html.Minifier{ TemplateDelims: [2]string{"{{", "}}"}, KeepDefaultAttrVals: true })
+ m.Add("text/html", &html.Minifier{TemplateDelims: [2]string{"{{", "}}"}, KeepDefaultAttrVals: true})
templates = template.New("templates").Funcs(template.FuncMap{
"first_line": first_line,