enables users to access pages indirectly without static_pages
refactor static_pages_spec