aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/icons.html
blob: 9c1f5dffb536dbdb443c788d60099b48cd724d50 (plain)
1
2
3
4
5
6
<span class="inline-svg" >
    {{- $fname:=print "icons/" . ".svg" -}}
    {{- $path:="<path" -}}
    {{- $fill:="<path fill=\"currentColor\"" -}}
    {{ replace (readFile $fname) $path $fill | safeHTML }}
</span>