diff --git a/helpers/McCansHelpers.php b/helpers/McCansHelpers.php index b8c4cbc..6784058 100644 --- a/helpers/McCansHelpers.php +++ b/helpers/McCansHelpers.php @@ -38,7 +38,7 @@ class McCansHelpers $output = ""; foreach ($content as $i => $c) { - $svg = site()->getAssetContents($icons[$i]); + $svg = site()->getAssetContents($icons[$i] . ".svg"); $output .= site()->renderTemplate(<<
{{{ icon }}}
@@ -48,7 +48,7 @@ class McCansHelpers HTML, [ - "icon" => "$svg.svg", + "icon" => "$svg", "headline" => $c["headline"], "content" => $c["sub_headline"], ]);