From 0d67073b3840de18709c9cfdfa4c655a82d92d48 Mon Sep 17 00:00:00 2001 From: cdowdy Date: Thu, 23 Feb 2017 15:09:20 -0500 Subject: [PATCH] fixes #9 adds a raw filter so images can be used in in page style tags --- templates/global.macros.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/global.macros.twig b/templates/global.macros.twig index 4a8a752..014a874 100644 --- a/templates/global.macros.twig +++ b/templates/global.macros.twig @@ -28,7 +28,7 @@ src="/img{{ srcImg }}" {# test out for not found and single image right now #} {% macro setImg( srcImg, sourceExists, notFoundImg ) %} -{% if sourceExists %}/img{{ srcImg }}{% else %} +{% if sourceExists %}/img{{ srcImg|raw }}{% else %} {{ notFoundImg }}{% endif %} {% endmacro setImg %}