message no. 90489
Posted by jxf in #jekyll at 2015-04-20T06:11:44Z
I have an array of strings that I'm looping over. I'd like to add one element to the array before I start. Is that possible? That is, I have `{% for t in page.tags %} ...` and I want to add, e.g., "foo" as the first item in the list of tags. In Ruby I'd just do this with `t + page.tags` and get the result -- what's the right way to do this in Jekyll?