+[2017-04-29T19:26:52Z]balliotelcrazy* +[2017-05-01T12:36:33Z]fusion809Hey 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]fusion809HTML 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]jekyllrbTitle: first – Liquid template language (at shopify.github.io) +[2017-05-01T12:41:12Z]fusion809Also tried {{ include.package1array.last }} but it too fails
Title: first – Liquid template language (at shopify.github.io)
+[2017-05-02T20:26:06Z]hrefheya +[2017-05-02T20:26:25Z]hrefis it possible to "grab" the manifest/assets from rails to use in a jekyll generated site ? +[2017-05-02T20:28:59Z]allejoif you can get the manifest into json or yaml, jekyll can load it +[2017-05-02T20:29:20Z]hrefit's in json so should be ok. How can I load it ? +[2017-05-02T20:32:15Z]allejojust stuff it in the _data folder of a jekyll site