From a11808136778be92cde14933cfcb1777034daa97 Mon Sep 17 00:00:00 2001
From: James Panther <4462786+jpanther@users.noreply.github.com>
Date: Fri, 13 Aug 2021 15:08:08 +1000
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20issue=20with=20icon=20reso?=
=?UTF-8?q?urces=20not=20being=20loaded=20correctly?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
layouts/partials/icon.html | 2 +-
layouts/shortcodes/icon.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/icon.html b/layouts/partials/icon.html
index 8b0c662c..6c532514 100644
--- a/layouts/partials/icon.html
+++ b/layouts/partials/icon.html
@@ -1,4 +1,4 @@
{{ $icon := resources.Get (print "icons/" . ".svg") }}
- {{ $icon | safeHTML }}
+ {{ $icon.Content | safeHTML }}
diff --git a/layouts/shortcodes/icon.html b/layouts/shortcodes/icon.html
index 8b0c662c..6c532514 100644
--- a/layouts/shortcodes/icon.html
+++ b/layouts/shortcodes/icon.html
@@ -1,4 +1,4 @@
{{ $icon := resources.Get (print "icons/" . ".svg") }}
- {{ $icon | safeHTML }}
+ {{ $icon.Content | safeHTML }}