chore: better resource loading
/ publish (push) Successful in 9m23s

This commit is contained in:
2026-03-08 01:05:57 +01:00
parent eab7eb3879
commit 01b24f830f
11 changed files with 26 additions and 13 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func Render(ctx context.Context, w io.Writer, r *http.Request, component templ.C
slog.Debug("HX-Request", "value", r.Header.Get("HX-Request"))
if r.Header.Get("HX-Request") != "true" {
ctx = templ.WithChildren(ctx, component)
component = Base("hello")
component = Base("Schreifuchs")
}
if err := component.Render(ctx, w); err != nil {