Website retains elements after deleting them from project

I have a little icon on my website, and recently wanted to change it. There’s two versions of it, one is .png and one is .svg.
However, even after deleting it from everywhere, the themes image folder, the themes public folder, the main projects image as well as public folder, and overwriting it (adding a new one with the same exact name), deleted the browser cache, cookies etc. used a different browser, and deleted everything from the _gen folders. However, the new one is not being used in the website. Nowhere in the project is the old file still present, and still it is somehow using it still. Is hugo caching any files? I’m running out of ideas on what else to try, maybe someone here has a pointer. It’s probably a trivial solution again, but finding it is tricky.

Thank you in advance

would be much easier if you would tell us, where the icon is/was.

  • themes public should be irrelevant for the target site.
  • how do you include the theme (which?) - if imported as module, it will be in the module cache not in your project folder, it could be mounted from somewhere to someotherwhere
  • you did not mention static and assets folder in your delete actions
    to eleminate the browser
  • scan the public folder if it’s there.
  • If it’s there, grep the files if it is referenced somewhere.

If it’s not there it’s your browser…

give it a fresh start.

  • do a fresh clone (or remove public and resources folder)
  • clear hugos (module) cache to find it hugo config | grep cache ( hugo config | select-string cache for windows powershell)
  • call hugo

don’t use the browser now, but again check manually the public folder as before if it’s there you or the theme tell hugo to publish it and link it.

all that said: if you cannot find it - share your repo