<commit_before><% content_for :body_content_left do %>
  <%=raw @page.content_for(Page.default_parts.first.to_sym) if @news_items.offset == 0 %>

  <% if @news_items.any? %>
    <% @news_items.each do |item| %>
      <article class="news_item_truncated">
        <h3><%= link_to item.title, news_item_url(item) %></h3>
        <p>
          <small><%= t('.published') %> <%= l(item.publish_date, :format => :long) %></small>
        </p>
        <%= truncate  item.body, :length => 200,
                      :omission => " ... #{link_to t('.read_more'), news_item_url(item)}",
                      :preserve_html_tags => true %>
      </article>
    <% end %>

    <%= will_paginate(@news_items) %>
  <% else %>
    <p><em><%= t('.no_items_yet') %></em></p>
  <% end %><commit_msg>h3 replaced with h2 for news index links.<commit_after><% content_for :body_content_left do %>
  <%=raw @page.content_for(Page.default_parts.first.to_sym) if @news_items.offset == 0 %>

  <% if @news_items.any? %>
    <% @news_items.each do |item| %>
      <article class="news_item_truncated">
        <h2><%= link_to item.title, news_item_url(item) %></h2>
        <p>
          <small><%= t('.published') %> <%= l(item.publish_date, :format => :long) %></small>
        </p>
        <%= truncate  item.body, :length => 200,
                      :omission => " ... #{link_to t('.read_more'), news_item_url(item)}",
                      :preserve_html_tags => true %>
      </article>
    <% end %>

    <%= will_paginate(@news_items) %>
  <% else %>
    <p><em><%= t('.no_items_yet') %></em></p>
  <% end %>
{'fraction_non_alphanumeric': 0.21141781681304894, 'fraction_numerical': 0.00878293601003764, 'mean_word_length': 2.5842696629213484, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 61, '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': '5881636', 'n_tokens_mistral': 617, 'n_tokens_neox': 549, 'n_words': 101}