12 lines
252 B
Twig
12 lines
252 B
Twig
|
{%- block render -%}
|
||
|
<figure {% block attributes %}{% endblock %}>
|
||
|
{{- text -}}
|
||
|
|
||
|
{% if caption %}
|
||
|
<figcaption>
|
||
|
{{- caption -}}
|
||
|
</figcaption>
|
||
|
{% endif %}
|
||
|
</figure>
|
||
|
{%- endblock -%}
|