Make view display homepage if theres no slug, collapse and remove code made redundant by this change