page_title is a global variable (accessible anywhere) that gives you the title of the current page.
page_title