Open jvasile opened 2 years ago
Update: I removed the /theme/zola-clean-blog/static/img/home-bg.jpg, deleted /public/* and rebuilt. It works because the file doesn't already exist. But, zola serve
gives me the "file exists" error.
Hm weird I can't reproduce on OSX. copy
should not error if the destination already exists on any OS 🤔
Bug Report
Environment
Debian Linux
Zola version: 0.15.3, downloaded from the github releases page
Expected Behavior
Zola copies
/static/img/home-bg.jpg
to/public/img/home-bg,jpg
Current Behavior
I'm trying to override an image in a theme. The theme image is in
theme/zola-clean-blog/static/img
. My image is in/static/img
. As I understand it, zola should put my version inpublic/img
, not the theme version. But instead it throws an error and places the template's version of the image.Step to reproduce