<commit_before><%= cache page do %>
  <%= content_tag :section,
    id: page.perma_id,
    class: page_css_class(page),
    data: {
      :template => page.template,
      :id => page.id,
      :chapter_id => page.chapter_id
    } do %>
    <%= render partial: Pageflow.config.page_types.find_by_name!(page.template).template_path.sub('_', ''),
      locals: {
        page: page,
        configuration: page.configuration,
        page_counter: page_counter,
        revision: page.chapter.entry.revisions.last
      } %>
    <a class="to_top" href="#content"><%= t('pageflow.public.goto_top') %></a>
  <% end %>
<% end %><commit_msg>revert back to using template<commit_after><%= cache page do %>
  <%= content_tag :section,
    id: page.perma_id,
    class: page_css_class(page),
    data: {
      :template => page.template,
      :id => page.id,
      :chapter_id => page.chapter_id
    } do %>
    <%= render template: Pageflow.config.page_types.find_by_name!(page.template).template_path,
      locals: {
        page: page,
        configuration: page.configuration,
        page_counter: page_counter,
        revision: page.chapter.entry.revisions.last
      } %>
    <a class="to_top" href="#content"><%= t('pageflow.public.goto_top') %></a>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.16326530612244897, 'fraction_numerical': 0.0, 'mean_word_length': 2.923076923076923, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 25, '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': '6424747', 'n_tokens_mistral': 445, 'n_tokens_neox': 419, 'n_words': 78}