mirror of
https://git.adityakumar.xyz/blog.git
synced 2024-11-21 23:22:53 +00:00
6 lines
No EOL
222 B
HTML
6 lines
No EOL
222 B
HTML
<span class="inline-svg" >
|
|
{{- $fname:=print "icons/" ( .Get 0 ) ".svg" -}}
|
|
{{- $path:="<path" -}}
|
|
{{- $fill:="<path fill=\"currentColor\"" -}}
|
|
{{ replace (readFile $fname) $path $fill | safeHTML }}
|
|
</span> |