danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
adding all svgs and partials to handle them in order to ask for help in the forums.
[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>