diff --git a/app.go b/app.go index 42d9891..5f2d62b 100644 --- a/app.go +++ b/app.go @@ -365,7 +365,7 @@ func pageForReq(app *App, r *http.Request) page.StaticPage { } // Use custom style, if file exists - if _, err := os.Stat(filepath.Join(staticDir, "local", "custom.css")); err == nil { + if _, err := os.Stat(filepath.Join(app.cfg.Server.StaticParentDir, staticDir, "local", "custom.css")); err == nil { p.CustomCSS = true }