Page title id in a perch .html template
Hi, is there a way to pull in the page title in a perch template like so:
<perch:content id="pageTitle" />
Im using perch_content_custom to pull in a template for each file under a directory like so:
<?php perch_content_custom('Case Study Banner', array( 'page'=>'/case-studies/*', 'template'=>'case_study_list.html', )); ?>
And in that template im trying to just display the title of the page that is being pulled in but i cant find any documentation for this?
I know there is the php version but this wont work in a content template, or would it be better to set the title as an editable field in perch so you can manually add it and pull it through?