all repos — website @ f73b8d6770b0e3c3f6ccb50983083c2a4dc81a5f

My website

check error
Alan Pearce alan@alanpearce.eu
Sat, 29 Jun 2024 19:13:26 +0200
commit

f73b8d6770b0e3c3f6ccb50983083c2a4dc81a5f

parent

01e9fdd7f65cd5beeb89e43befd4e595e6837a2d

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M internal/builder/template.gointernal/builder/template.go
@@ -171,6 +171,9 @@ w := &strings.Builder{} 	err = tpl.Execute(w, map[string]interface{}{
 		"css": esc.String(),
 	})
+	if err != nil {
+		return nil, err
+	}
 
 	return strings.NewReader(w.String()), nil
 }