Open jdoklovic opened 6 years ago
We want minified CSS, but it would be great also to be able to use custom CSS.
The best solution would be to have assets in the static folder like this
I don't know if this is possible but it's worth a try.
Ref: https://gohugo.io/hugo-pipes/introduction/
Asset directory Asset files must be stored in the asset directory. This is /assets by default, but can be configured via the configuration file’s assetDir key.
I could not get this solution to work. Is there an fix for this problem? Maybe I can minify my custom css somehow?
Edit: I found out that I can just put my custom CSS file in /assets/css/style_custom.css, this works fine for me.
Great!
I have to find a good solution for this. All PR is now merged at least.
using a customCSS that lives in/static/css no longer works.
The issue is that the minifier is looking for the file in the /themes/... folder and not the project static folder:
The offending code is:
Since this commit:
https://github.com/appernetic/hugo-bootstrap-premium/commit/c8e60757a009b04b838be406375f81341e5508f7#diff-6494f455c8ec6e853adbc3b0c9bdb7a8