<commit_before>extends ../../../components/main_layout/templates/index

append locals
  - assetPackage = 'artists_artworks'

block head
  include ../components/meta/index

block body
  - isAuction = artwork.context && artwork.context.__typename == 'ArtworkContextAuction'
  
  if isAuction
    .artwork-page.main-layout-container
      section.artwork
        .artwork__main
          .artwork__main__overview
            include ../components/banner/index
            include ../components/images/index
            include ../components/actions/index
            include ../components/additional_info/index
            include ../components/artists/index
            
          include ./metadata
            
        .artwork__main__overview__fold( class='js-artwork-fold' )
          include ../client/fold
        
        .artwork__footer( class='js-artwork-footer' )
          include ../client/footer
  
  else 
    .artwork-page.main-layout-container
      section.artwork
        .artwork__main
          .artwork__main__overview
            include ../components/banner/index
            include ../components/images/index
            include ../components/actions/index
            include ../components/additional_info/index
            include ../components/artists/index

            .artwork__main__overview__fold( class='js-artwork-fold' )
              include ../client/fold

          include ./metadata

        .artwork__footer( class='js-artwork-footer' )
          include ../client/footer
<commit_msg>Hide top banner for ecommerce sales<commit_after>extends ../../../components/main_layout/templates/index

append locals
  - assetPackage = 'artists_artworks'

block head
  include ../components/meta/index

block body
  - isAuction = artwork.context && artwork.context.__typename == 'ArtworkContextAuction'
  - isEcommerceSale = artwork.sale && artwork.sale.is_auction == false

  if isAuction
    .artwork-page.main-layout-container
      section.artwork
        .artwork__main
          .artwork__main__overview
            include ../components/banner/index
            include ../components/images/index
            include ../components/actions/index
            include ../components/additional_info/index
            include ../components/artists/index

          include ./metadata

        .artwork__main__overview__fold( class='js-artwork-fold' )
          include ../client/fold

        .artwork__footer( class='js-artwork-footer' )
          include ../client/footer

  else
    .artwork-page.main-layout-container
      section.artwork
        .artwork__main
          .artwork__main__overview
            unless isEcommerceSale
              include ../components/banner/index

            include ../components/images/index
            include ../components/actions/index
            include ../components/additional_info/index
            include ../components/artists/index

            .artwork__main__overview__fold( class='js-artwork-fold' )
              include ../client/fold

          include ./metadata

        .artwork__footer( class='js-artwork-footer' )
          include ../client/footer

{'fraction_non_alphanumeric': 0.10019083969465649, 'fraction_numerical': 0.0, 'mean_word_length': 1.9613935969868173, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3129133', 'n_tokens_mistral': 858, 'n_tokens_neox': 797, 'n_words': 145}