danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d042bb0b4a66c5f9e6c4b158bde7934eae38a483
[theme-danix.xyz.git]
/
layouts
/
shortcodes
/
svg.html
1
<span
class
=
"inline-svg{{ with .Get "
class
" }} {{ . }}{{ end }}"
>
2
{{- $fname := print
"SVGs/"
( .Get
"name"
)
".svg"
-}}
3
{{ $icon := resources.Get $fname }}
4
{{ $icon.Content | safeHTML }}
5
</span>