I'm using the Saturn Site theme from Grav (https://getgrav.org/downloads/skeletons) and want to change the background image of the home page (and eventually other styles). In the theme's custom CSS (user/themes/saturn/css/custom.css
) I changed the background image, but the new image is not rendered unless I update both custom.css
and custom.min.css
.
I believe it is inappropriate to change both files; the system should generate a new version of the minified CSS. Reading the Grav docs (https://learn.getgrav.org/themes/asset-manager) I discovered that Grav provides
an Asset Pipeline that can be used to minify and compress assets to reduce the number of browser requests, and also the overall size of the assets.
How do I run this pipeline to update/minify the theme's CSS? Or do I need to install a separate CSS minifying tool?
Additional information:
My user/config/system.yaml
file includes this:
assets:
css_pipeline: false # The CSS pipeline is the unification of multiple CSS resources into one file
css_minify: true # Minify the CSS during pipelining
css_rewrite: true # Rewrite any CSS relative URLs during pipelining