From 9ae8cfe14cbd35b654c6cf48cc50f1da0c6b85aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 22 Nov 2018 13:03:50 -0500 Subject: [PATCH] Make link optional per #108 --- agaric/templates/components/slide.html.twig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/agaric/templates/components/slide.html.twig b/agaric/templates/components/slide.html.twig index e69defe..3f48e03 100644 --- a/agaric/templates/components/slide.html.twig +++ b/agaric/templates/components/slide.html.twig @@ -1,8 +1,16 @@ +{% if url %} +{% else %} +
+{% endif %}
{{ image }}
{{ text }}
+{% if url %}
+{% else %} +
+{% endif %}