<commit_before>if artworks.length
  h2.home-featured-header.top-featured-header
    if artworks.personalized && artworks.personalized.length
      | Works by artists you follow
    else
      | Featured artworks for sale

ul#home-featured-artworks.grid-4-up.home-featured-list
  if artworks.length
    for artwork in artworks.models
      li.grid-item( class="is-via-#{artwork.get('source')}" )
        - showBlurb = true
        - artworkSize = 'square'
        include ../../../../components/artwork_item/templates/artwork
  else
    li.loading-spinner

.home-browse-all-center
  if artworks.personalized && artworks.personalized.length
    a.avant-garde-button-underlined( href='/works-for-you' )
      | All works by artists you follow
  else
    a.avant-garde-button-underlined( href='/browse/artworks?price_range=-1%3A1000000000000' )
      | All for sale artworks<commit_msg>updates homepage link to for sale works (closes #2689)<commit_after>if artworks.length
  h2.home-featured-header.top-featured-header
    if artworks.personalized && artworks.personalized.length
      | Works by artists you follow
    else
      | Featured artworks for sale

ul#home-featured-artworks.grid-4-up.home-featured-list
  if artworks.length
    for artwork in artworks.models
      li.grid-item( class="is-via-#{artwork.get('source')}" )
        - showBlurb = true
        - artworkSize = 'square'
        include ../../../../components/artwork_item/templates/artwork
  else
    li.loading-spinner

.home-browse-all-center
  if artworks.personalized && artworks.personalized.length
    a.avant-garde-button-underlined( href='/works-for-you' )
      | All works by artists you follow
  else
    a.avant-garde-button-underlined( href='/browse/artworks?price_range=*-*' )
      | All for sale artworks
{'fraction_non_alphanumeric': 0.12067039106145251, 'fraction_numerical': 0.012849162011173185, 'mean_word_length': 3.0067114093959733, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '3828746', 'n_tokens_mistral': 597, 'n_tokens_neox': 579, 'n_words': 111}