A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth replying to this from @zachleat
@zachleat @eleven_ty I like the idea of using a nunjucks shortcode for images. It helps enforce some good conventions and let’s you adjust them all in a single place.

I used one to help me generate markup for responsive images in this example:

https://css-tricks.com/tips-for-rolling-your-own-lazy-loading/#article-header-id-4

My tweets and posts live here on my own domain these days.
You can explore them here and follow me on Mastodon instead of Twitter where I'm not currently active.