about summary refs log tree commit diff stats
path: root/internal/builder/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/builder/template.go')
-rw-r--r--internal/builder/template.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/builder/template.go b/internal/builder/template.go
index b50861b..957ea60 100644
--- a/internal/builder/template.go
+++ b/internal/builder/template.go
@@ -171,6 +171,9 @@ func renderFeedStyles(source string) (*strings.Reader, error) {
 	err = tpl.Execute(w, map[string]interface{}{
 		"css": esc.String(),
 	})
+	if err != nil {
+		return nil, err
+	}
 
 	return strings.NewReader(w.String()), nil
 }