<commit_before>include ../bordered_pulldown/mixin

.filter-artworks(class=infiniteScroll ? '' : 'filter-artworks-no-infinite-scroll')
  .filter-artworks-sort-count
    .filter-sort-count
      h1.filter-heading.large-garamond-header
      h4.filter-sort-count-count Showing&nbsp;
        span.filter-sort-count-total= typeof total == 'number' ? total : '...'
      .filter-sort-count-pulldown
        +bordered-pulldown((pulldownVal || 'Recently Added'), 'Sort by:')
          a( data-sort='-published_at', href="#" ) Recently Added
          a( data-sort='-year', href="#" ) Artwork Year (desc.)
          a( data-sort='year', href="#" ) Artwork Year (asc.)
  .filter-artworks-list

  .filter-artworks-spinner
    .loading-spinner

  unless infiniteScroll
    .filter-artworks-see-more
      .avant-garde-button-text See More<commit_msg>remove unused see more button<commit_after>include ../bordered_pulldown/mixin

.filter-artworks(class=infiniteScroll ? '' : 'filter-artworks-no-infinite-scroll')
  .filter-artworks-sort-count
    .filter-sort-count
      h1.filter-heading.large-garamond-header
      h4.filter-sort-count-count Showing&nbsp;
        span.filter-sort-count-total= typeof total == 'number' ? total : '...'
      .filter-sort-count-pulldown
        +bordered-pulldown((pulldownVal || 'Recently Added'), 'Sort by:')
          a( data-sort='-published_at', href="#" ) Recently Added
          a( data-sort='-year', href="#" ) Artwork Year (desc.)
          a( data-sort='year', href="#" ) Artwork Year (asc.)
  .filter-artworks-list

  .filter-artworks-spinner
    .loading-spinner
{'fraction_non_alphanumeric': 0.15904821540388228, 'fraction_numerical': 0.002504696305572949, 'mean_word_length': 3.0150753768844223, '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': '796633', 'n_tokens_mistral': 536, 'n_tokens_neox': 530, 'n_words': 89}