Added a header to body content

Split the page title out into its own variable so we can mirror it in
the head and body. Also tidied up some doc bits