Override image template to remove wrapping figure .image
This commit is contained in:
parent
fc0410185a
commit
dfb067bfb4
1 changed files with 15 additions and 0 deletions
15
agaric/templates/elements/image.html.twig
Normal file
15
agaric/templates/elements/image.html.twig
Normal 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 }} />
|
Loading…
Reference in a new issue