mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-20 01:45:30 -04:00
🥅 Catch icon resource not found error
This commit is contained in:
@@ -4,5 +4,5 @@
|
||||
{{ $icon.Content | safeHTML }}
|
||||
</span>
|
||||
{{ else }}
|
||||
<em>{{ i18n "shortcode.icon_none" }}</em>
|
||||
{{ errorf `[CONGO] 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 }}
|
||||
|
||||
Reference in New Issue
Block a user