{% set image %}
{% include '@bolt-elements-image/image.twig' with {
attributes: {
src: '/images/placeholders/16x9.jpg',
alt: 'Alt text.',
loading: 'lazy',
width: 800,
height: 450,
}
} only %}
{% endset %}
{% set items %}
{% include '@bolt-components-accordion/accordion-item.twig' with {
trigger: 'Expand this to see an image.',
content: image,
} only %}
...
{% endset %}
{% include '@bolt-components-accordion/accordion.twig' with {
content: items,
} only %}