This commit is contained in:
Chris Cochrun 2025-05-19 14:08:56 -05:00
parent 7a4c5c2d22
commit 2b82345290
663 changed files with 38142 additions and 0 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 }}