mirror of
https://git.adityakumar.xyz/blog.git
synced 2024-12-23 10:02:54 +00:00
6 lines
217 B
HTML
6 lines
217 B
HTML
|
<span class="inline-svg" >
|
||
|
{{- $fname:=print "icons/" . ".svg" -}}
|
||
|
{{- $path:="<path" -}}
|
||
|
{{- $fill:="<path fill=\"currentColor\"" -}}
|
||
|
{{ replace (readFile $fname) $path $fill | safeHTML }}
|
||
|
</span>
|