The Hoof & Paw
DocsCategoriesTagsView the current conditions from the WolfspyreLabs WeatherstationToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

SVG Shortcode

Locally implemented shortcode: svg

I found this question on how to add an svg to a page. Specifically one that’s animated.

There’s a few ways, obviously, but the solution suggested by rdwatters was easy enough to -steal- implement.


 {{< svg "images/water-drop.svg" >}}

Should work as expected:

This is managed by the file layouts/shortcodes/svg.html