diff options
author | Alan Pearce | 2024-06-29 19:13:26 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-29 19:13:26 +0200 |
commit | f73b8d6770b0e3c3f6ccb50983083c2a4dc81a5f (patch) | |
tree | 2a583068a044df730303df9eabe7f02c9e766cd7 /internal | |
parent | 01e9fdd7f65cd5beeb89e43befd4e595e6837a2d (diff) | |
download | website-f73b8d6770b0e3c3f6ccb50983083c2a4dc81a5f.tar.lz website-f73b8d6770b0e3c3f6ccb50983083c2a4dc81a5f.tar.zst website-f73b8d6770b0e3c3f6ccb50983083c2a4dc81a5f.zip |
check error
Diffstat (limited to 'internal')
-rw-r--r-- | internal/builder/template.go | 3 |
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 } |