rename partials for consistency
This commit is contained in:
parent
de6decde38
commit
6b9c2ef4eb
12 changed files with 10 additions and 10 deletions
|
@ -1,15 +0,0 @@
|
|||
<span class="inline-svg" >
|
||||
|
||||
{{ $dict := newScratch }}
|
||||
|
||||
{{ if (eq .custom true) }}
|
||||
{{ $dict.Set "filename" (print "static/fa-icons/" .iconName ".svg") }}
|
||||
{{ else }}
|
||||
{{ $dict.Set "filename" (print "themes/anubis/static/fa-icons/" .iconName ".svg") }}
|
||||
{{ end }}
|
||||
|
||||
{{- $path:="<path" -}}
|
||||
{{- $fill:="<path fill=\"currentColor\"" -}}
|
||||
{{ replace (readFile ($dict.Get "filename")) $path $fill | safeHTML }}
|
||||
|
||||
</span>
|
Loading…
Add table
Add a link
Reference in a new issue