bolt / themes

Themes - a separate repository of themes included with the Bolt distribution
MIT License
24 stars 19 forks source link

Make "picture" elements have sane output. #41

Closed bobdenotter closed 3 years ago

bobdenotter commented 4 years ago

Now it's this, in _picture.html.twig:

        <picture class="aspect-ratio-square">
            <source srcset="{{ record|thumbnail(400) }}" media="(min-width: 400px)" />
            <img src="record|thumbnail(400)" alt="(alt goes here)" loading="lazy" />
        </picture>

but, i assume that '400' should be something else

bobdenotter commented 3 years ago

🧹 Spring cleaning! All of these should be finished!