From dfb067bfb453c4ad43e528e59fab2be82b95d74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 2 Dec 2018 00:03:04 -0500 Subject: [PATCH] Override image template to remove wrapping figure .image --- agaric/templates/elements/image.html.twig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 agaric/templates/elements/image.html.twig diff --git a/agaric/templates/elements/image.html.twig b/agaric/templates/elements/image.html.twig new file mode 100644 index 0000000..6411eaa --- /dev/null +++ b/agaric/templates/elements/image.html.twig @@ -0,0 +1,15 @@ +{# +/** + * @file + * Default theme implementation of an image. + * + * Available variables: + * - attributes: HTML attributes for the img tag. + * - style_name: (optional) The name of the image style applied. + * + * @see template_preprocess_image() + * + * @ingroup themeable + */ +#} +