Is there an elegant way to get the post-name for a Page? For example, the post-name for something titled "Page Title" would be "page-title". Searching through the include pages, I saw a Page.post-name field that has what I need.
However, I don't know how to get the current Page object. I've also found a get_page() function, but I'm not sure how to handle that to achieve my goal.
Thanks for any help!