Ok, so i have been watching the recent panini youtube videos, and I am loving them. I am designing a one page and I have created a partial called section headers, what I would like to do is insert the section headers titles from a YML file. So I have set that up.
So what I want is the first time the section header partial appears I want it to insert the first title item in the array, and then the second time I want it to insert the second item in the array and so forth.
If i use the #each then every time the section header partial appears it places all of the array items on the page.
Is there anyway to do this? Is it even a good idea?
Thanks for any help.