ajout des légendes

This commit is contained in:
Valentin
2024-01-26 16:17:45 +01:00
parent 84515f933c
commit a65fe81184
4 changed files with 28 additions and 1 deletions

View 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>