create layout for individual pages