🐛 Fix issue with icon resources not being loaded correctly

pull/2/head
James Panther 2021-08-13 15:08:08 +10:00
parent 3b19231134
commit a118081367
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<span class="relative inline-block align-text-bottom icon"> <span class="relative inline-block align-text-bottom icon">
{{ $icon := resources.Get (print "icons/" . ".svg") }} {{ $icon := resources.Get (print "icons/" . ".svg") }}
{{ $icon | safeHTML }} {{ $icon.Content | safeHTML }}
</span> </span>

View File

@ -1,4 +1,4 @@
<span class="relative inline-block align-text-bottom icon"> <span class="relative inline-block align-text-bottom icon">
{{ $icon := resources.Get (print "icons/" . ".svg") }} {{ $icon := resources.Get (print "icons/" . ".svg") }}
{{ $icon | safeHTML }} {{ $icon.Content | safeHTML }}
</span> </span>