extract stylesheet
1 file changed, 0 insertions(+), 6 deletions(-)
changed files
M templates/files.go → templates/files.go
@@ -8,15 +8,9 @@ "go.alanpearce.eu/homestead/internal/env" ) var ( - CSS string Files fs.FS ) func init() { Files = os.DirFS(env.GetEnvFallback("KO_DATA_PATH", "kodata")) - bytes, err := fs.ReadFile(Files, "style.css") - if err != nil { - panic(err) - } - CSS = string(bytes) }