pages rework. ready for single page and sidebar template