congo/layouts/partials/icon.html

7 lines
200 B
HTML
Raw Permalink Normal View History

2023-06-01 11:09:31 +00:00
{{- $icon := resources.Get (print "icons/" . ".svg") -}}
{{- if $icon -}}
<span class="relative inline-block align-text-bottom px-1 icon">
{{- $icon.Content | safeHTML -}}
</span>
2023-06-01 11:09:31 +00:00
{{- end -}}