-
@m4d_z @eleven_ty Nice demo, thanks! 🙏 I'm already using Nunjucks
{% extends %}
instead of Eleventy layout chaining, but I didn't know{% call %}
andcaller()
, it can help. If I only need one parameter for the macro, could I call {% simpleImage('path') %} somehow? -
@m4d_z @eleven_ty Also, my initial need was getting a collection's content in the macro (or a shortcode) without passing it in the call, how does this help? 🤔 😅