Change the layout to display links and title

* Use instance variables in the templates to set current_page and title
* Use the same instance variables in layout to display correctly the links and title