if (['slug-title-one','slug-title-13'].some(slug => item.slug.includes(slug))) { // checks for and displays if either }