Override image template to remove wrapping figure .image

This commit is contained in:
benjamin melançon 2018-12-02 00:03:04 -05:00
parent fc0410185a
commit dfb067bfb4

View file

@ -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
*/
#}
<img{{ attributes }} />