This really is the super oddest thing I’ve seen. SVG files aren’t displaying locally in the browser but are fine on remote server. Also, work fine locally on Python dev server.
Also, it’s just started happening. My thoughts are that it’s an update to Hugo serve, possibly some security measure?
I’ve put the test branch up on https://svg--indiego.netlify.com/
To replicate the issue:
- Click to Deploy to Netlify
- Git clone to local machine
$ hugo serve
$ cd themes/indiegomin/
$ npm install
$ gulp
This should automatically open a browsersync window, where you can see the local Deploy to Netlify SVG button not displaying itself!
many thanks, Jake