From 02afb1a00baaa59592be2f43b1ec44ed0e282aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Wed, 21 Nov 2018 09:52:31 -0500 Subject: [PATCH] Move slide component into a components directory so it's a little more clear what's going on here... not a lot, but a little. --- agaric/templates/{paragraph => components}/slide.html.twig | 0 agaric/templates/paragraph/paragraph--slide.html.twig | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename agaric/templates/{paragraph => components}/slide.html.twig (100%) diff --git a/agaric/templates/paragraph/slide.html.twig b/agaric/templates/components/slide.html.twig similarity index 100% rename from agaric/templates/paragraph/slide.html.twig rename to agaric/templates/components/slide.html.twig diff --git a/agaric/templates/paragraph/paragraph--slide.html.twig b/agaric/templates/paragraph/paragraph--slide.html.twig index 63ebe4d..c813797 100644 --- a/agaric/templates/paragraph/paragraph--slide.html.twig +++ b/agaric/templates/paragraph/paragraph--slide.html.twig @@ -3,7 +3,7 @@ {% set link = renderables.merge_attributes(item_attributes, content.field_link, 0) %} {# Include slide component template. #} {% - include '@agaric/paragraph/slide.html.twig' with { + include '@agaric/components/slide.html.twig' with { classes: classes, image_url: content.field_image[0]['#markup'], text: content.field_text,