-
@dirtystylus @eleven_ty Great post, I tried this earlier in @eleven_ty but it didn't work… 🤷♂️ By the way, if you're using Nunjucks, you can use named arguments: 11ty.io/docs/languages/nunjucks/#shortcode-named-argument-syntax-(nunjucks-only) It means you can write
{% figure img="DSCF1433.jpg", class="cinemascope" %}
without an empty""
.