Move template path determination into base class.

Simplifies code for pages and removes the detail of where exactly the
template is.
Render page as content within a base page.