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 }}