+ [2017-05-01T12:36:33Z] fusion809 Hey I have a Liquid variable called package1 that takes the form a/b (e.g., a could be games-rpg and b could be runescape-launcher and then package1 would be games-rpg/runescape-launcher) now using Liquid how would I get b out of package1 and be able to use b in Liquid expressions? I have tried, based on https://shopify.github.io/liquid/filters/first/ adding {% assign package1array = package1 | split: "/" %} to the start of the
+ [2017-05-01T12:36:34Z] fusion809 HTML file in which I need to extract b from package1 and using {{ include.package1array.second }} whenever I needed b. Unfortunately {{ include.package1array.second }} is being rendered as nothing
+ [2017-05-01T12:36:34Z] jekyllrb Title: first – Liquid template language (at shopify.github.io)
+ [2017-05-01T12:41:12Z] fusion809 Also tried {{ include.package1array.last }} but it too fails

message no. 168010

Posted by jekyllrb in #jekyll at 2017-05-01T12:36:34Z

Title: first – Liquid template language (at shopify.github.io)
+ [2017-05-02T20:26:06Z] href heya
+ [2017-05-02T20:26:25Z] href is it possible to "grab" the manifest/assets from rails to use in a jekyll generated site ?
+ [2017-05-02T20:28:59Z] allejo if you can get the manifest into json or yaml, jekyll can load it
+ [2017-05-02T20:29:20Z] href it's in json so should be ok. How can I load it ?
+ [2017-05-02T20:32:15Z] allejo just stuff it in the _data folder of a jekyll site