slug should not be generated for pages