diff options
Diffstat (limited to 'templates/page.templ')
-rw-r--r-- | templates/page.templ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page.templ b/templates/page.templ index 08c17a0..1667fb0 100644 --- a/templates/page.templ +++ b/templates/page.templ @@ -1,7 +1,7 @@ package templates import ( - "os" + "io/fs" "net/url" "website/internal/config" @@ -12,7 +12,7 @@ var ( ) func init() { - bytes, err := os.ReadFile("templates/style.css") + bytes, err := fs.ReadFile(Files, "style.css") if err != nil { panic(err) } |