congo/layouts/partials/icon.html

7 lines
189 B
HTML

<span class="relative inline-block align-text-bottom icon">
{{ $icon := resources.Get (print "icons/" . ".svg") }}
{{ if $icon }}
{{ $icon.Content | safeHTML }}
{{ end }}
</span>