7 lines
167 B
HTML
7 lines
167 B
HTML
|
{{ $svg := resources.Get . }}
|
||
|
{{ if eq $svg nil }}
|
||
|
cnt: {{ $svg.Content }}
|
||
|
{{ else }}
|
||
|
{{ $svg.Content | replaceRE "(width|height)=\"\\d+\"" "" | safeHTML }}
|
||
|
{{ end }}
|