<commit_before><% set_meta_tags(description: category.description) %>

<div id="content">
  <section>
    <h1><%= title category.title %></h1>
    <p id="description"><%= category.description %></p>

    <% category.contents.each do |subcategory| %>
      <article>
        <h2><%= link_to subcategory.title, subcategory.path %></h2>

        <% if subcategory.contents.present? %>
          <ul>
          <% subcategory.contents.each do |subsubcategory| %>
            <li><%= link_to subsubcategory.title, subsubcategory.path %></li>
          <% end%>
          </ul>
        <% end %>

      </article>
    <% end %>

  </section>
</div><commit_msg>Apply presentation to category view<commit_after><% set_meta_tags(description: category.description) %>

<h1><%= title category.title %></h1>
<p class="intro"><%= category.description %></p>

<div class="l-category-grid">
  <% category.contents.each_with_index do |subcategory, i| %>
    <section class="category-detail category-detail--<%= i+1 %>">
      <h2 class="category-detail__heading"><%= link_to subcategory.title, subcategory.path %></h2>

      <% if subcategory.contents.present? %>
        <ol class="category-detail__list">
          <% subcategory.contents.each do |subsubcategory| %>
            <li><%= link_to subsubcategory.title, subsubcategory.path %></li>
          <% end %>
        </ol>
      <% end %>
    </section>
  <% end %>
</div>
{'fraction_non_alphanumeric': 0.18303886925795054, 'fraction_numerical': 0.0063604240282685515, 'mean_word_length': 2.9553072625698324, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 56, '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': '953360', 'n_tokens_mistral': 476, 'n_tokens_neox': 434, 'n_words': 89}