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

block head
  include meta

append locals
  - assetPackage = 'artists_artworks'

block body
  #artists-page.main-layout-container
    nav.alphabetical-index
      .alphabetical-index-label
        | Browse over 50,000 artists
      .alphabetical-index-range
        for letter in letters
          a( href='/artists/artists-starting-with-#{letter}' )
            = letter

    for set in featured_artists
      h1.avant-garde-header-center
        = set.name

      .artists-featured-carousel
        .afc-prev: i.icon-chevron-left
        .afc-next: i.icon-chevron-right
        .afc-track-container
          .afc-track
            for artist in set.artists
              .afc-artist
                a.hoverable-image-link( href= artist.href )
                  img(
                    src= artist.image.thumb.url
                    alt= artist.title
                    title= artist.title
                  )

                .afc-artist-information
                  .afc-artist-information-left
                    h2.afc-artist-name
                      a( href= artist.href )
                        = artist.title

                    if artist.subtitle
                      p.afc-artist-notes
                        = artist.subtitle

                  .afc-artist-information-right
                    a.avant-garde-follow-button-black.follow-button(
                      data-id= artist.id
                    )

    for set in featured_genes
      .artists-featured-genes
        for gene in set.genes
          .artists-featured-genes-gene
            h4
              a.avant-garde-jump-link( href='#{gene.href}/artists' )
                = gene.name<commit_msg>[Bugfix] Crashing artist page (#3409)<commit_after>extends ../../../components/main_layout/templates/index

block head
  include meta

append locals
  - assetPackage = 'artists_artworks'

block body
  #artists-page.main-layout-container
    nav.alphabetical-index
      .alphabetical-index-label
        | Browse over 50,000 artists
      .alphabetical-index-range
        for letter in letters
          a( href='/artists/artists-starting-with-#{letter}' )
            = letter

    for set in featured_artists
      h1.avant-garde-header-center
        = set.name

      .artists-featured-carousel
        .afc-prev: i.icon-chevron-left
        .afc-next: i.icon-chevron-right
        .afc-track-container
          .afc-track
            for artist in set.artists
              .afc-artist
                a.hoverable-image-link( href= artist.href )
                  if artist && artist.image && artist.image.thumb
                    img(
                      src= artist.image.thumb.url
                      alt= artist.title
                      title= artist.title
                    )

                .afc-artist-information
                  .afc-artist-information-left
                    h2.afc-artist-name
                      a( href= artist.href )
                        = artist.title

                    if artist.subtitle
                      p.afc-artist-notes
                        = artist.subtitle

                  .afc-artist-information-right
                    a.avant-garde-follow-button-black.follow-button(
                      data-id= artist.id
                    )

    for set in featured_genes
      .artists-featured-genes
        for gene in set.genes
          .artists-featured-genes-gene
            h4
              a.avant-garde-jump-link( href='#{gene.href}/artists' )
                = gene.name
{'fraction_non_alphanumeric': 0.08980044345898004, 'fraction_numerical': 0.005543237250554324, 'mean_word_length': 1.23053152039555, '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': '1206575', 'n_tokens_mistral': 1069, 'n_tokens_neox': 985, 'n_words': 175}