     template: articlesTemplate
   title: 'Articles'
   viewAll: "#{partner.href()}/articles"
-
-#
-# Sections for gallery_three layout.
-#
-galleryThreeAbout = galleryTwoAbout
-galleryThreeNews = galleryTwoNews
-galleryThreeShows = galleryTwoShows
-galleryThreeFairBooths = galleryTwoFairBooths
-galleryThreeArtists = galleryTwoArtists
-galleryThreeArticles = galleryTwoArticles
-galleryThreeHero = (partner, profile) ->
-  name: 'hero'
-  component:
-    switch partner.get('profile_banner_display')
-      when 'Artworks' then HeroArtworksCarousel
-      else HeroShowsCarousel
-  options: (
-    options =
-      partner: partner
-      maxNumberOfShows: 10
-    switch partner.get('profile_banner_display')
-      when 'Artworks' then _.pick options, 'partner'
-      else _.pick options, 'partner', 'maxNumberOfShows'
-  )
-
-#
-# Sections for gallery_four layout.
-#
-galleryFourHero = galleryThreeHero
-galleryFourAbout = galleryTwoAbout
-galleryFourNews = galleryTwoNews
-galleryFourShows = galleryTwoShows
-galleryFourFairBooths = galleryTwoFairBooths
-galleryFourArtists = galleryTwoArtists
-galleryFourArticles = galleryTwoArticles
-
-#
-# Sections for gallery_five layout.
-#
-galleryFiveHero = galleryThreeHero
-galleryFiveAbout = galleryThreeAbout
-galleryFiveNews = galleryThreeNews
-galleryFiveShows = galleryThreeShows
-galleryFiveFairBooths = galleryThreeFairBooths
-galleryFiveArtists = galleryThreeArtists
-galleryFiveArticles = galleryThreeArticles
-
-#
-# Sections for gallery_six layout.
-#
-gallerySixHero = galleryOneHero
-gallerySixAbout = galleryOneAbout
-gallerySixShows = galleryOneShows
-gallerySixFairBooths = galleryOneFairBooths
-gallerySixArtists = galleryOneArtists
-
-#
-# Sections for gallery_seven layout.
-#
-gallerySevenHero = galleryOneHero
-gallerySevenAbout = galleryOneAbout
-gallerySevenShows = galleryOneShows
-gallerySevenFairBooths = galleryOneFairBooths
-gallerySevenArtists = galleryOneArtists

  title: 'Artists' unless partner.get('profile_artists_layout') is 'Grid'
  viewAll: "#{partner.href()}/artists" unless partner.get('profile_artists_layout') is 'Grid'

galleryTwoArticles = (partner, profile) ->
  name: 'articles'
  component: FixedCellsCountCarousel
  options:

      else _.pick options, 'partner', 'maxNumberOfShows'
  )

configurable10ShowsHero = (partner, profile) ->
  name: 'hero'
  component:
    switch partner.get('profile_banner_display')
      when 'Artworks' then HeroArtworksCarousel
      else HeroShowsCarousel
  options: (
    options =
      partner: partner
      maxNumberOfShows: 10
    switch partner.get('profile_banner_display')
      when 'Artworks' then _.pick options, 'partner'
      else _.pick options, 'partner', 'maxNumberOfShows'
  )


#
# About Section
#
aboutSection = (partner, profile) ->
  name: 'about'
  template: aboutTemplate profile: profile if profile.get('full_bio')
  title: 'About'


#
# News Section
#
newsSection = (partner, parfile) ->
  name: 'news'
  component: NewsView
  options: partner: partner
  title: 'News'


#
# Shows Section
#
showsGrid = (partner, profile) ->
  name: 'shows'
  component: ShowsGrid
  options:
    partner: partner
    isCombined: true
    numberOfFeatured: if partner.claimed() then 1 else 0
    numberOfShows: 6
    seeAll: partner.claimed()
    heading: 'Shows & Fair Booths' unless partner.claimed()

showsCarousel = (partner, profile) ->
  name: 'shows'
  component: FixedCellsCountCarousel
  options:
    partner: partner
    collection: new PartnerShows
    fetchOptions: [
      { partner_id: partner.get('_id'), status: 'current', at_a_fair: false, displayable: true, size: 9, sort: 'start_at' }
      { partner_id: partner.get('_id'), status: 'closed', at_a_fair: false, displayable: true, size: 9, sort: '-end_at' }
    ]
    template: showsTemplate
  title: 'Shows'
  viewAll: "#{partner.href()}/shows"


#
# Fair Booths Section
#
fairBoothsSection = (partner, profile) ->
  name: 'fair-booths'
  component: FixedCellsCountCarousel
  options:
    partner: partner
    collection: new PartnerShows
    fetchOptions: [
      { partner_id: partner.get('_id'), status: 'current', at_a_fair: true, displayable: true, size: 9, sort: 'start_at' }
      { partner_id: partner.get('_id'), status: 'closed', at_a_fair: true, displayable: true, size: 9, sort: '-end_at' }
    ]
    template: fairBoothsTemplate
  title: 'Fair Booths'
  viewAll: "#{partner.href()}/shows"


#
# Artists Section
#
possiblyUnclaimedPartnerArtists = (partner, profile) ->
  name: 'artists'
  component: (
    ArtistsGridView if partner.claimed()
  )
  options: partner: partner

artistsGrid = (partner, profile) ->
  name: 'artists'
  component: ArtistsGridView
  options: partner: partner

configurableArtists = (partner, profile) ->
  name: 'artists'
  component:
    if partner.get('display_artists_section')
