fixed svg display using shortcode and partial.
[theme-danix.xyz.git] / layouts / shortcodes / svg.html
CommitLineData
00bd3a19 1<span class="inline-svg">
2{{- $fname := print "SVGs/" ( .Get 0 ) ".svg" -}}
3{{ $icon := resources.Get $fname }}
4{{ $icon.Content | safeHTML }}
5</span>