storing scalable vector graphics
I have included some svg icons in my pages on this site, however they are loaded with the page. I want to add them to the images/svg and then dymamically load them and insert into the dom.
First make sure svg ’on save’ is uploaded to localhost.
Then add the store-md target to the build file.
Note we remove
www from the path with a filterchain.
We add the collection path
Then store the file. curl to check if we can fetch it and its returning the right content type
Ok. lets go to our templates/includes folder open up head.html and add... continue to read article