ajout des légendes
This commit is contained in:
16
web/themes/erabletheme/templates/node/image.html.twig
Normal file
16
web/themes/erabletheme/templates/node/image.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{#
|
||||
/**
|
||||
* @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 }} />
|
||||
<div class="legende" style="display: none;">{{ attributes.title }}</div>
|
Reference in New Issue
Block a user