Add layout and refactor static_pages tests
Finish layout and routes