-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
customCSS no longer works #47
Comments
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 /static/css, /static/js, etc. Then change the assetDir by configuring it in the configuration file’s assetDir key to /public/. I don't know if this is possible but it's worth a try. Ref: https://gohugo.io/hugo-pipes/introduction/ Asset directory |
I could not get this solution to work. Is there an fix for this problem? Maybe I can minify my custom css somehow? Edit: |
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:
c8e6075#diff-6494f455c8ec6e853adbc3b0c9bdb7a8
The text was updated successfully, but these errors were encountered: