set up static pages and layout