diff options
author | Alan Pearce | 2024-06-19 13:50:37 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-19 14:10:44 +0200 |
commit | 45a2e290aa2bc59deb5971255accba517500cc25 (patch) | |
tree | 1d6fe7c96aab7e13faa2fdb5eea4416370a1423b /internal/builder/template.go | |
parent | 1f9f24e2cef08f40fe2597b3644d08b28e31d370 (diff) | |
download | website-45a2e290aa2bc59deb5971255accba517500cc25.tar.lz website-45a2e290aa2bc59deb5971255accba517500cc25.tar.zst website-45a2e290aa2bc59deb5971255accba517500cc25.zip |
fix dev server/live reload
Diffstat (limited to 'internal/builder/template.go')
-rw-r--r-- | internal/builder/template.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/builder/template.go b/internal/builder/template.go index 9b1d9bd..53199fc 100644 --- a/internal/builder/template.go +++ b/internal/builder/template.go @@ -30,7 +30,7 @@ var ( } ) -func init() { +func loadCSS() { bytes, err := os.ReadFile("templates/style.css") if err != nil { panic(err) |