about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
authorAlan Pearce2024-06-25 18:13:56 +0200
committerAlan Pearce2024-06-25 18:13:56 +0200
commitb7d3ee578a0fa7c482c386242f2fc52c2600568a (patch)
tree8cdaed663e0a5eeb5c9ac79ef8fa6b6eb2d41363 /templates
parent14543af1635fffd07ff97e6d69a3ff70a85d1e3e (diff)
downloadwebsite-b7d3ee578a0fa7c482c386242f2fc52c2600568a.tar.lz
website-b7d3ee578a0fa7c482c386242f2fc52c2600568a.tar.zst
website-b7d3ee578a0fa7c482c386242f2fc52c2600568a.zip
fix early panic
Diffstat (limited to 'templates')
-rw-r--r--templates/page.templ2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.templ b/templates/page.templ
index 1667fb0..7869369 100644
--- a/templates/page.templ
+++ b/templates/page.templ
@@ -11,7 +11,7 @@ var (
 	css string
 )
 
-func init() {
+func Setup() {
 	bytes, err := fs.ReadFile(Files, "style.css")
 	if err != nil {
 		panic(err)