<commit_before><% unless defined?(style) %>
  <% style = :thumbnail %>
<% end %>
<div class="section section-image">
  <div class="section-wrap hover-effect">
    <div class="section-item">
      <div class="section-time">
        <%= image.created_at.strftime("%H:%M") %>
        <% unless image.created_at.today? %>
          <%= image.created_at.strftime("%Y-%m-%d") %>
        <% end %>
      </div>
      <div class="section-title">
        <% if defined?(nolink) && nolink == true %>
          <%= image.title %>
        <% else %>
          <%= link_to image.title, "/image/#{image.id}" %>
        <% end %>
      </div>
      <div class="section-content">
        <% if defined?(nolink) && nolink == true %>
          <%= image_tag(image.img_url(style)) %>
        <% else %>
          <%= link_to(image_tag(image.img_url(style)), "/image/#{image.id}") %>
        <% end %>
      </div>
      <div class="section-action">
        <% if image.liked %>
          <%= link_to icon("heart"), "/image/like/#{image.id}", remote: true, method: :post %>
        <% else %>
          <%= link_to icon("heart-o"), "/image/like/#{image.id}", remote: true, method: :post %><commit_msg>Hide year if created_at this year<commit_after><% unless defined?(style) %>
  <% style = :thumbnail %>
<% end %>
<div class="section section-image">
  <div class="section-wrap hover-effect">
    <div class="section-item">
      <div class="section-time">
        <%= image.created_at.strftime("%H:%M") %>
        <% unless image.created_at.today? %>
          <% unless image.created_at.this_year? %>
            <%= image.created_at.strftime("%Y-%m-%d") %>
          <% else %>
            <%= image.created_at.strftime("%m-%d") %>
          <% end %>
        <% end %>
      </div>
      <div class="section-title">
        <% if defined?(nolink) && nolink == true %>
          <%= image.title %>
        <% else %>
          <%= link_to image.title, "/image/#{image.id}" %>
        <% end %>
      </div>
      <div class="section-content">
        <% if defined?(nolink) && nolink == true %>
          <%= image_tag(image.img_url(style)) %>
        <% else %>
          <%= link_to(image_tag(image.img_url(style)), "/image/#{image.id}") %>
        <% end %>
      </div>
      <div class="section-action">
        <% if image.liked %>
          <%= link_to icon("heart"), "/image/like/#{image.id}", remote: true, method: :post %>
        <% else %>
          <%= link_to icon("heart-o"), "/image/like/#{image.id}", remote: true, method: :post %>
{'fraction_non_alphanumeric': 0.21778656126482213, 'fraction_numerical': 0.0, 'mean_word_length': 2.2283163265306123, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '4128013', 'n_tokens_mistral': 899, 'n_tokens_neox': 804, 'n_words': 142}