Is it possible to create a Jade mixin, which reads a file from the file system, and echoes it into the rendered HTML?
I tried this...
mixin svg(file)
I have better luck with object, such as
object
a.svg(href='/') object(type="image/svg+xml" data="/img/#{data.menu.img}.svg") | #{data.menu.title}