<commit_before>!!!
%html{ lang: 'en' }
  %head
    %meta{ charset: 'utf-8' }
    %meta{ content: 'width=device-width, initial-scale=1.0', name: 'viewport' }
    %title= content_for(:page_title) || 'Orientation'
    = stylesheet_link_tag    'application', media: 'all'
    = javascript_include_tag 'application'
    = csrf_meta_tags

  %body{ class: body_class }
    %header.header
      .header-row
        .cell

          %nav.split
            .split-cell
              %ul.list.list--inline.list--inline--f.list--inline--flex
                %li.list-item
                  = link_to root_url, class: 'header-btn' do
                    = image_tag( 'brackets-blue.svg', height: 40, width: 40, class: 'vam' )
                %li.list-item
                  = link_to articles_url, class: 'header-btn' do
                    %span.tsm Articles
                %li.list-item
                  = link_to tags_url, class: 'header-btn' do
                    %span.tsm Tags
                %li.list-item.dn.di--s
                  = link_to authors_url, class: 'header-btn' do
                    %span.tsm Authors
                %li.list-item.dn--s
                  .dropdown.dropdown--e.dropdown--f.js-dropdown.dib
                    = link_to '#', class: 'header-btn js-dropdown-btn' do
                      %span.tsm More
                    %ul.dropdown-menu.js-dropdown-menu
                      %li.dropdown-item
                        = link_to authors_url, class: 'dropdown-item-link' do
                          %span.tsm Authors
                      %li.dropdown-item
                        = link_to new_article_url, class: 'dropdown-item-link' do
                          %span.tsm New Article
                      %li.dropdown-item
                        = link_to current_user.link, class: 'dropdown-item-link' do
                          %span.tsm My Profile
                      %li.dropdown-item
                        = link_to logout_path, class: 'dropdown-item-link' do
                          %span.tsm Log Out
            .split-cell.dn.db--s
              - if current_user
                = link_to 'New Article', new_article_url, class: 'btn btn--a form-btn mrs'
                .dropdown.dropdown--e.dropdown--f.js-dropdown.dib
                  .header-btn.js-dropdown-btn
                    = image_tag current_user.image, height: 40, width: 40, class: 'thumb dib vam'
                    = render partial: 'shared/icon', locals: { icon: 'caretDown', middle: true, klass: 'tcs' }
                  %ul.dropdown-menu
                    %li.dropdown-item
                      = link_to current_user.link, class: 'dropdown-item-link' do
                        %span.tsm My Profile
                    %li.dropdown-item
                      = link_to logout_path, class: 'dropdown-item-link' do
                        %span.tsm Log Out
              - else
                = link_to 'Log In', login_path, data: { no_turbolink: true }

    - if flash[:error]
      .bulletin.bulletin--warning= flash[:error]
    - if flash[:notice]
      .bulletin= flash[:notice]

    = yield
<commit_msg>Add favicon link tag to the application layout<commit_after>!!!
%html{ lang: 'en' }
  %head
    %meta{ charset: 'utf-8' }
    %meta{ content: 'width=device-width, initial-scale=1.0', name: 'viewport' }
    %title= content_for(:page_title) || 'Orientation'
    = stylesheet_link_tag    'application', media: 'all'
    = javascript_include_tag 'application'
    = favicon_link_tag 'favicon.ico'
    = csrf_meta_tags

  %body{ class: body_class }
    %header.header
      .header-row
        .cell

          %nav.split
            .split-cell
              %ul.list.list--inline.list--inline--f.list--inline--flex
                %li.list-item
                  = link_to root_url, class: 'header-btn' do
                    = image_tag( 'brackets-blue.svg', height: 40, width: 40, class: 'vam' )
                %li.list-item
                  = link_to articles_url, class: 'header-btn' do
                    %span.tsm Articles
                %li.list-item
                  = link_to tags_url, class: 'header-btn' do
                    %span.tsm Tags
                %li.list-item.dn.di--s
                  = link_to authors_url, class: 'header-btn' do
                    %span.tsm Authors
                %li.list-item.dn--s
                  .dropdown.dropdown--e.dropdown--f.js-dropdown.dib
                    = link_to '#', class: 'header-btn js-dropdown-btn' do
                      %span.tsm More
                    %ul.dropdown-menu.js-dropdown-menu
                      %li.dropdown-item
                        = link_to authors_url, class: 'dropdown-item-link' do
                          %span.tsm Authors
                      %li.dropdown-item
                        = link_to new_article_url, class: 'dropdown-item-link' do
                          %span.tsm New Article
                      %li.dropdown-item
                        = link_to current_user.link, class: 'dropdown-item-link' do
                          %span.tsm My Profile
                      %li.dropdown-item
                        = link_to logout_path, class: 'dropdown-item-link' do
                          %span.tsm Log Out
            .split-cell.dn.db--s
              - if current_user
                = link_to 'New Article', new_article_url, class: 'btn btn--a form-btn mrs'
                .dropdown.dropdown--e.dropdown--f.js-dropdown.dib
                  .header-btn.js-dropdown-btn
                    = image_tag current_user.image, height: 40, width: 40, class: 'thumb dib vam'
                    = render partial: 'shared/icon', locals: { icon: 'caretDown', middle: true, klass: 'tcs' }
                  %ul.dropdown-menu
                    %li.dropdown-item
                      = link_to current_user.link, class: 'dropdown-item-link' do
                        %span.tsm My Profile
                    %li.dropdown-item
                      = link_to logout_path, class: 'dropdown-item-link' do
                        %span.tsm Log Out
              - else
                = link_to 'Log In', login_path, data: { no_turbolink: true }

    - if flash[:error]
      .bulletin.bulletin--warning= flash[:error]
    - if flash[:notice]
      .bulletin= flash[:notice]

    = yield

{'fraction_non_alphanumeric': 0.1110410094637224, 'fraction_numerical': 0.003470031545741325, 'mean_word_length': 1.3024691358024691, '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': '5511750', 'n_tokens_mistral': 1891, 'n_tokens_neox': 1779, 'n_words': 381}