Welcome to mirror list, hosted at ThFree Co, Russian Federation.

svg.html « partials « layouts - github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e585091b6ba6c53e2fe2889c65bd11d732ebb0d (plain)
1
2
3
4
5
6
<span class="inline-svg" >
  {{- $fname:=print "themes/colordrop/static/img/svg/" . ".svg" -}}
  {{- $path:="<path" -}}
  {{- $fill:="<path fill=\"currentColor\"" -}}
  {{ replace (readFile $fname) $path $fill | safeHTML }}
</span>