blog/layouts/partials/icons.html

6 lines
217 B
HTML
Raw Normal View History

2022-03-11 05:02:10 +00:00
<span class="inline-svg" >
{{- $fname:=print "icons/" . ".svg" -}}
{{- $path:="<path" -}}
{{- $fill:="<path fill=\"currentColor\"" -}}
{{ replace (readFile $fname) $path $fill | safeHTML }}
</span>