Hi there, is there a way for me to iterate over pages in eg. a sub directory and list them out in a custom manner?
I have a source/screencasts folder which contains pages with videos, I want to list these videos on a different page.
Thanks
Hi there, is there a way for me to iterate over pages in eg. a sub directory and list them out in a custom manner?
I have a source/screencasts folder which contains pages with videos, I want to list these videos on a different page.
Thanks
Been trying multiple variations of the type: sitemap.where(:type.equal => 'screencast')
They are ALL just returning every single page on middleman, the conditional doesnt seem to be respected :\
My bad, I had to call .all() at the end. Got it working