+ [2017-05-15T14:05:36Z] jekyllrb ¯\_(ツ)_/¯
+ [2017-05-15T17:06:17Z] smartperson Is it okay to ask a quick help question here? I think I'm missing some of the basic of liquid. I have an include.html that calls a jekyll tag plugin, with the form `{% custom_tag /path/to/img.jpg %}` and I cannot figure out how to make the `/path/to/img.jpg` defined dynamically instead of statically. How do I get include.html to render the string before sending it to the plugin?
+ [2017-05-15T20:12:40Z] smartperson If anyone cares, I was able to do {% template_tag {{variable_name}} %}. I didn't realize that would work. Beauty!
+ [2017-05-15T20:42:09Z] jaybe [[include]]
+ [2017-05-15T20:42:09Z] jekyllrb (include) https://jekyllrb.com/docs/configuration/

message no. 168934

Posted by captn3m0 in #jekyll at 2017-05-15T13:33:01Z

tl;dr: unless is your friend
+ [2017-05-16T06:01:38Z] batteur is it possible to define an array when calling a include, and then use this array in the include?
+ [2017-05-16T06:03:17Z] captn3m0 batteur: you can pass the array as a string to the include tag variable and then split it back to the array again
+ [2017-05-16T06:04:01Z] batteur my use case is a <figure> that can contain one or more <img>
+ [2017-05-16T06:04:35Z] batteur and i want to pass the data for src, alt and href
+ [2017-05-16T06:07:22Z] batteur at the moment i tried it like this: img=[['img1_320.png', 'bla', 'img1.png'], ['img5_320.png', 'blabla', 'img5.png'], ['img7_320.png', 'blablabla', 'img7.png'], ['img2_320.png', 'blablablabla', 'img2.png']]