The repo tracks work progress for ura.design website redesign

7 lines
316 B

<span class="inline-svg">
{{ $fname:=print "assets/icons/" . ".svg" }}
{{- $svg := readFile $fname -}}
{{- $commentStrippedSvg := replaceRE "<!--[^>]*-->" "" $svg -}}
{{- $filledPathSvg := replace $commentStrippedSvg "<path" "<path fill='currentColor'" -}}
{{ $filledPathSvg | safeHTML }}
</span>