In the yml file I have:
sections:
image:
type: files
template: single-image
max: 1
layout: cards
Now I want to add
<img src="<?= $page->image()->url() ?>" alt="Logo">
But how to make only the image from template: signle-image inserted in the src?
One more question
In the yml file I have:
files:
images:
type: files
layout: cards
Is there an option to show only images and not all files in a folder?