From f71a4f5fe7d1f3536e85759740d7779825f9c306 Mon Sep 17 00:00:00 2001 From: oskkw Date: Wed, 3 Jul 2019 17:36:49 +0530 Subject: Theme is added --- .../templates/responsive-image-formatter.html.twig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 themes/kalpesh/acadmix_subtheme/templates/responsive-image-formatter.html.twig (limited to 'themes/kalpesh/acadmix_subtheme/templates/responsive-image-formatter.html.twig') diff --git a/themes/kalpesh/acadmix_subtheme/templates/responsive-image-formatter.html.twig b/themes/kalpesh/acadmix_subtheme/templates/responsive-image-formatter.html.twig new file mode 100644 index 0000000..93caba8 --- /dev/null +++ b/themes/kalpesh/acadmix_subtheme/templates/responsive-image-formatter.html.twig @@ -0,0 +1,19 @@ +{# +/** + * @file + * Default theme implementation to display a formatted responsive image field. + * + * Available variables: + * - responsive_image: A collection of responsive image data. + * - url: An optional URL the image can be linked to. + * + * @see template_preprocess_responsive_image_formatter() + * + * @ingroup themeable + */ +#} +{% if url %} + {{ responsive_image }} +{% else %} + {{ responsive_image }} +{% endif %} -- cgit