mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-18 16:48:28 -04:00
🥅 Catch any cases where resources don't exist
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<span class="relative inline-block align-text-bottom icon">
|
||||
{{ $icon := resources.Get (print "icons/" . ".svg") }}
|
||||
{{ $icon.Content | safeHTML }}
|
||||
{{ if $icon }}
|
||||
{{ $icon.Content | safeHTML }}
|
||||
{{ end }}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user