separate views for categories and pages