added title to pages, set the first part of the title through the @title variable