DRY up static_pages_spec