<commit_before><%== @cur_node.upper_html %>

<nav class="event-date">
  <h1 class="<%= event_h1_class(@month) + " " + event_dl_class(@date) %>">
    <%= time_tag(@date) do %>
      <%= "#{@year}#{t_date('year')}#{@month}#{t_date('month')}#{@day}#{t_date('day')}" %>
      <span class="wday">(<%= t_wday(@date) %><span class="unit"><%= t_date('wday') %></span>)</span>

      <% if @date.national_holiday? %>
        <span class="holiday"><%= HolidayJapan.name @date %></span>
      <% end %>
    <% end %>
  </h1>
  <ul>
    <li class="prev"><%= link_to_daily @date.advance(days: -1), name: t("event.prev_day") %></li>
    <li class="next"><%= link_to_daily @date.advance(days:  1), name: t("event.next_day") %></li>
  </ul>
</nav>

<div id="event-list">
  <% @events.each do |page, categories| %>
    <div class="page">
      <article class="<%= @cur_node.render_loop_html(page, html: '#{new}') %>">
        <header>
          <h2><%= link_to (page.event_name.present? ? page.event_name : page.name), page.url %></h2>
          <% if page.summary_html.present? %>
            <%= raw page.summary_html %>
          <% end %>
        </header>
        <nav class="categories">
          <ul>
            <% categories.entries.sort_by{ |c| c.order }.each do |cate| %>
              <li class="<%= cate.basename %>">
                <%= link_to cate.name, cate.url %>
              </li>
            <% end %>
          </ul>
        </nav>
      </article>
    </div>
  <% end %>
</div>

<%== @cur_node.lower_html %><commit_msg>fix: event<commit_after><%== @cur_node.upper_html %>

<nav class="event-date">
  <h1 class="<%= event_h1_class(@month) + " " + event_dl_class(@date) %>">
    <%= time_tag(@date) do %>
      <%= "#{@year}#{t_date('year')}#{@month}#{t_date('month')}#{@day}#{t_date('day')}" %>
      <span class="wday">(<%= t_wday(@date) %><span class="unit"><%= t_date('wday') %></span>)</span>

      <% if @date.national_holiday? %>
        <span class="holiday"><%= HolidayJapan.name @date %></span>
      <% end %>
    <% end %>
  </h1>
  <ul>
    <li class="prev"><%= link_to_daily @date.advance(days: -1), name: t("event.prev_day") %></li>
    <li class="next"><%= link_to_daily @date.advance(days:  1), name: t("event.next_day") %></li>
  </ul>
</nav>

<div id="event-list">
  <% @events.each do |page, categories| %>
    <div class="page">
      <article class="<%= @cur_node.render_loop_html(page, html: '#{new}') %>">
        <header>
          <h2><%= link_to (page.event_name.present? ? page.event_name : page.name), page.url %></h2>
        </header>
        <% if page.summary_html.present? %>
          <p><%= raw page.summary_html %></p>
        <% end %>
        <nav class="categories">
          <ul>
            <% categories.entries.sort_by{ |c| c.order }.each do |cate| %>
              <li class="<%= cate.basename %>">
                <%= link_to cate.name, cate.url %>
              </li>
            <% end %>
          </ul>
        </nav>
      </article>
    </div>
  <% end %>
</div>

<%== @cur_node.lower_html %>
{'fraction_non_alphanumeric': 0.24442988204456095, 'fraction_numerical': 0.0045871559633027525, 'mean_word_length': 2.5959952885747937, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 117, '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': '5446480', 'n_tokens_mistral': 1220, 'n_tokens_neox': 1129, 'n_words': 199}