parent:
76c2a43fc2fd4f1136a71217835e7ec86f76d021
nmyk <nick@nmyk.io>
2026-03-02T18:10:26-05:00
rm extraneous call to path.Base
diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go
index c6ed0bbeb82c99410b8332515a2b9b2109971c75..d1d1d57863600490465145aff0a4b99a06499416 100644
--- a/internal/handlers/handlers.go
+++ b/internal/handlers/handlers.go
@@ -66,7 +66,7 @@ path.Join("templates", "base.tmpl"),
path.Join("templates", t.Name()),
),
)
- key := strings.TrimSuffix(path.Base(t.Name()), ".tmpl")
+ key := strings.TrimSuffix(t.Name(), ".tmpl")
templates[key] = tmpl
}
return Server{Config: c, templates: templates}