added pages layout for theme pages