danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7421dbea8a5afcbbfaa36bd4da1c3ccaf568f504
[theme-danix.xyz.git]
/
layouts
/
partials
/
funcs
/
svg.html
1
<span
class
=
"inline-svg"
>
2
{{- $fname:=print
"SVGs/"
.
".svg"
-}}
3
{{- $path:=
"<path"
-}}
4
{{- $fill:=
"<path fill=\"
currentColor\
""
-}}
5
{{ replace (readFile $fname) $path $fill | safeHTML }}
6
</span>