<commit_before>#layout-sidebar-container
  nav#layout-sidebar
    a#layout-sidebar-home( href='/' )
      include ../public/icons/logo.svg
    a#layout-sidebar-new-article(
      href='/articles/new'
      class=(sd.URL == '/articles/new' ? 'is-active' : '')
    )
      include ../public/icons/layout_new_article.svg
      br
      | New Article
    a( href='/articles?published=false'
       class=(sd.URL == '/articles?published=false' ? 'is-active' : '') )
      include ../public/icons/layout_drafts.svg
      br
      | Drafts
    a( href='/articles?published=true'
       class=(sd.URL == '/articles?published=true' ? 'is-active' : '') )
      include ../public/icons/layout_published.svg
      br
      | Published
    a( href='/verticals'
       class=(sd.URL == '/verticals' ? 'is-active' : '') )
      include ../public/icons/layout_vertical.svg
      br
      | Verticals
    #layout-sidebar-profile
      img( src=user.get('profile_icon_url') )
      br
      = user.get('name').split(' ')[0]
      nav#layout-sidebar-profile-menu
        a( href=sd.FORCE_URL + '/' + user.get('profile_handle') )
          | View profile on Artsy
        a( href='/logout' ) Sign out
        if user.get('type') == 'Admin'
          a#layout-sidebar-switch-user Switch user<commit_msg>only show for admins<commit_after>#layout-sidebar-container
  nav#layout-sidebar
    a#layout-sidebar-home( href='/' )
      include ../public/icons/logo.svg
    a#layout-sidebar-new-article(
      href='/articles/new'
      class=(sd.URL == '/articles/new' ? 'is-active' : '')
    )
      include ../public/icons/layout_new_article.svg
      br
      | New Article
    a( href='/articles?published=false'
       class=(sd.URL == '/articles?published=false' ? 'is-active' : '') )
      include ../public/icons/layout_drafts.svg
      br
      | Drafts
    a( href='/articles?published=true'
       class=(sd.URL == '/articles?published=true' ? 'is-active' : '') )
      include ../public/icons/layout_published.svg
      br
      | Published
    if user.get('type') == 'Admin'
      a( href='/verticals'
         class=(sd.URL == '/verticals' ? 'is-active' : '') )
        include ../public/icons/layout_vertical.svg
        br
        | Verticals
    #layout-sidebar-profile
      img( src=user.get('profile_icon_url') )
      br
      = user.get('name').split(' ')[0]
      nav#layout-sidebar-profile-menu
        a( href=sd.FORCE_URL + '/' + user.get('profile_handle') )
          | View profile on Artsy
        a( href='/logout' ) Sign out
        if user.get('type') == 'Admin'
          a#layout-sidebar-switch-user Switch user
{'fraction_non_alphanumeric': 0.16781345565749237, 'fraction_numerical': 0.0007645259938837921, 'mean_word_length': 2.3252858958068616, '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': '4221676', 'n_tokens_mistral': 858, 'n_tokens_neox': 833, 'n_words': 139}