I am creating a list of sub pages, on a category page, with title link (using _page) and description (don’t want to use the Blog addon) and have run up against two issues I cannot solve.
1. I wish to add some page text under the h2 heading and would like to use the SEO description to do this - rather than content from the page - but cannot work out how to get the description data into the right place in the output.
2. The pages list also includes the index.php page which is the category page I am showing this list on - I'd rather not have it on the page but cannot work out a way to not add it.
Code I have so far:
I can't get me head around how to add the description data from perch_page_attribute('description); and pointers please?
Here is the gs.list.articles.html template:
As you can see I am picking up the Page heading from all pages under /articles/ but this also picks up index.php - anyway to not pick this up?