+[2017-05-15T14:05:36Z]jekyllrb¯\_(ツ)_/¯ +[2017-05-15T17:06:17Z]smartpersonIs 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]smartpersonIf 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. 169009
Posted by jaybe in #jekyll at 2017-05-15T20:42:09Z
[[include]]
+[2017-05-16T06:01:38Z]batteuris it possible to define an array when calling a include, and then use this array in the include? +[2017-05-16T06:03:17Z]captn3m0batteur: 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]batteurmy use case is a <figure> that can contain one or more <img> +[2017-05-16T06:04:35Z]batteurand i want to pass the data for src, alt and href +[2017-05-16T06:07:22Z]batteurat 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']]