jekyll-assets: Files ignored when not used in HTML
I have some images that I include with image-url("path/to/image.jpg")
in my SASS files for a background image. I don’t use it anywhere else, but it does not compile to my _site
folder. The image-url
function does return the expected path with the md5 sum appended.
Any ideas? Thanks so much.
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 28 (10 by maintainers)
In my case, setting
cache: false
seems to prevent this issue from happening, but I need to test further to see if this is certain.