<commit_before>javascript:
  $('.slideshow').cycle({
    fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
  });
/.banner
  p.post-author= t('main.banner')
#page_content
  .container style="text-align: center"
    .main
      //- if current_user && @projects_near.present?
        section.near_projects.list
          header
            h2.list-title= t('sections.near.title')
            = link_to t('main.links.near'), explore_path(anchor: :near), class: "more-projects"
          .projects
            == render @projects_near

      section.selected_projects.list
        header
          h1.title= t('sections.title.header')
          h2.title= t('sections.title.subheader')
        .slideshow
          = link_to image_tag Configuration[:banner1], project_by_slug_path(permalink: @banner[0])
          = link_to image_tag Configuration[:banner2], project_by_slug_path(permalink: @banner[1])
          = link_to image_tag Configuration[:banner3], project_by_slug_path(permalink: @banner[2])
          = link_to image_tag Configuration[:banner4], project_by_slug_path(permalink: @banner[3])
        .projects
          == render @recommends
        = render partial: 'layouts/recently_viewed'

      //section.expiring_projects.list
        header
          h2.list-title= t('sections.expiring.title')
          = link_to t('main.links.expiring'), explore_path(anchor: :expiring), class: "more-projects"
        .projects
          == render @expiring

      //section.recents_projects.list
        header
          h2.list-title= t('sections.recents.title')
          = link_to t('main.links.recents'), explore_path(anchor: :recent), class: "more-projects"
        .projects<commit_msg>fix permalink error<commit_after>javascript:
  $('.slideshow').cycle({
    fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
  });
/.banner
  p.post-author= t('main.banner')
#page_content
  .container style="text-align: center"
    .main
      //- if current_user && @projects_near.present?
        section.near_projects.list
          header
            h2.list-title= t('sections.near.title')
            = link_to t('main.links.near'), explore_path(anchor: :near), class: "more-projects"
          .projects
            == render @projects_near

      section.selected_projects.list
        header
          h1.title= t('sections.title.header')
          h2.title= t('sections.title.subheader')
        .slideshow
          = link_to image_tag Configuration[:banner1], project_by_slug_path(permalink: @banner[0].permalink)
          = link_to image_tag Configuration[:banner2], project_by_slug_path(permalink: @banner[1].permalink)
          = link_to image_tag Configuration[:banner3], project_by_slug_path(permalink: @banner[2].permalink)
          = link_to image_tag Configuration[:banner4], project_by_slug_path(permalink: @banner[3].permalink)
        .projects
          == render @recommends
        = render partial: 'layouts/recently_viewed'

      //section.expiring_projects.list
        header
          h2.list-title= t('sections.expiring.title')
          = link_to t('main.links.expiring'), explore_path(anchor: :expiring), class: "more-projects"
        .projects
          == render @expiring

      //section.recents_projects.list
        header
          h2.list-title= t('sections.recents.title')
          = link_to t('main.links.recents'), explore_path(anchor: :recent), class: "more-projects"
        .projects
{'fraction_non_alphanumeric': 0.12966150315547906, 'fraction_numerical': 0.007458405048766495, 'mean_word_length': 2.737406216505895, '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': '345266', 'n_tokens_mistral': 1099, 'n_tokens_neox': 1078, 'n_words': 189}