mirror of
https://github.com/miniflux/v2.git
synced 2025-08-26 18:21:01 +00:00
Use embed package for CSS bundles instead of generated files
This commit is contained in:
parent
42edd357bc
commit
9569666259
9 changed files with 83 additions and 58 deletions
|
@ -40,7 +40,7 @@ func New(tpl *template.Engine, r *http.Request, sess *session.Session) *View {
|
|||
b.params["flashMessage"] = sess.FlashMessage(request.FlashMessage(r))
|
||||
b.params["flashErrorMessage"] = sess.FlashErrorMessage(request.FlashErrorMessage(r))
|
||||
b.params["theme"] = theme
|
||||
b.params["theme_checksum"] = static.StylesheetsChecksums[theme]
|
||||
b.params["theme_checksum"] = static.StylesheetBundleChecksums[theme]
|
||||
b.params["app_js_checksum"] = static.JavascriptsChecksums["app"]
|
||||
b.params["sw_js_checksum"] = static.JavascriptsChecksums["service-worker"]
|
||||
return b
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue