Add galleries to main pages