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 -}}
2023-12-26 00:56:32 +00:00
<span class="icon relative inline-block px-1 align-text-bottom">
2023-06-01 11:09:31 +00:00
{{- $icon.Content | safeHTML -}}
</span>
2023-06-01 11:09:31 +00:00
{{- end -}}