I am trying to come up with a route that jus list pages. I am playing around with the following ways. Neither of them work. When i hit either www.xyz.com/pages/
or www.xyz.com/articles/
, I am getting a page but the list of pages I expect is empty.
routes:
/pages/:
controller: channel
template: pages
filter: page:true
collections:
/articles/:
permalink: /articles/{slug}/
template: pages
filter: page:true
Is it possible to achieve this the way I am trying? Help appreciated.