{% set image %}
{% include '@bolt-elements-image/image.twig' with {
attributes: {
src: '/images/placeholders/16x9-640.jpg',
loading: 'lazy',
}
} only %}
{% endset %}
{% include '@bolt-elements-figure/figure.twig' with {
content: image,
caption: 'Fig. 1: This is an image.'
} only %}
<figure class="e-bolt-figure">
<img src="/images/placeholders/16x9-640.jpg" loading="lazy" class="e-bolt-image">
<figcaption class="e-bolt-figure__caption">Fig. 1: This is an image.</figcaption>
</figure>