Modified SVG does not show up

I am running into a problem that must be on my side, but I am out of ideas.

We have lots of icons in SVG format which we insert everywhere on the site. Now I changed on color in all SVGs. I open several in a viewer to see if it works. Everything ok.

But when I build the site the old SVGs show up.

I even cloned the whole site to use a clean checkout I tried all combinations of --cleanDestinationDir and --ignoreCache but no success.

When I open a SVG from the rendered page in firefox and analyse the content I see the old values, when I open the file in an editor the new ones show up. Even in the public directory I find the new icons, but not in the browser.

Yes, I know that today is April 1st.

Have you cleared your browser cache?

Yes, I did. I am only working local with hugo server

Well, if the files in the public directory are correct, and the browser is showing you something else, either the browser is caching old files, or the links to the SVGs point somewhere else (e.g., absolute instead of relative).

As always, sharing your project repository will save both of us some time.

Fixed it. I said before it was me. I forgot to change the SVGs in the page bundles.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.