I'd like to forward the $params array which is passed to the instagram_feed() twig function into the twig template. This way you can pass additional params to the template and use them within the loop.
I've included a trivial example using a custom class in the readme. Obviously you have control over the classes by overriding the template so you wouldn't necessarily do it for a CSS class, but I think it demonstrates the point of passing page template defined values to the instagram partial and rendering within the loop.
I'd like to forward the
$params
array which is passed to theinstagram_feed()
twig function into the twig template. This way you can pass additional params to the template and use them within the loop.I've included a trivial example using a custom class in the readme. Obviously you have control over the classes by overriding the template so you wouldn't necessarily do it for a CSS class, but I think it demonstrates the point of passing page template defined values to the instagram partial and rendering within the loop.