How to get current page title inside a page’s template

get_the_title() does not output anything – it’s meant for being saved to a variable. Use just the_title(); in its place – that way it will be output. 🙂