message no. 139051
Posted by G33kDude in #jekyll at 2016-06-13T14:13:50Z
I have two arrays listed in my front matter, one with IDs and one with titles 'titles:' ' - TitleA' ' - TitleB'. In my page body I have a loop over the IDs, and in that loop I have '{% cycle page.titles %}'. In the generated output, I seem to get every title appended together every time, e.g. 'TitleATitleB' <some content based on ID> 'TitleATitleB' <more content> instead of what I wanted, 'TitleA' <content>