This commit is contained in:
Kiri Stolz 2025-01-26 17:39:48 -07:00
parent bfbe0de3c6
commit 30c2170ae7
1369 changed files with 92622 additions and 16 deletions

View file

@ -0,0 +1,8 @@
{{ $icon := resources.Get (printf "icons/%s.svg" ($.Get 0)) }}
{{ if $icon }}
<span class="relative inline-block align-text-bottom icon">
{{ $icon.Content | safeHTML }}
</span>
{{ else }}
{{ errorf `[BLOWFISH] Shortcode "icon" error in "%s": Resource "%s" not found. Check the path is correct or remove the shortcode.` .Page.Path (printf "icons/%s.svg" ($.Get 0)) }}
{{ end }}