SVG Workflow with perch
I have a folder full of svg files that I want to give the client access to as a dropdown select in the back end, then spitting that svg code out inline into the template.
Crucially it needs to be an inline svg so that I can style it with css.
I currently have a workflow which allows the option value from the select field to generate the filename in an image tag.
Normally for my inline svg workflow i'd use php to include or file_get_contents of the svg file. Can you think of a good way of doing this in perch?