<commit_before><% @title = @page.title %>
<% @title = Siteinfo.main.name if @page.title == "Home" %>
<% @tab = "home" if @page.title == "Home" %>
<% @tab = "about" if @page.title == "About" %>

  <!-- google_ad_section_start -->
  <div class="wikipage">
    <%= @page.content_html %>
    <hr style="clear: both; visibility: hidden;">
  </div>
  <!-- google_ad_section_end -->

  <div class="editlink">
  <%= link_to('Edit this page', :action => 'edit', :title => @page.title) -%>
  </div>

  <div class="referlink">
  <%= link_to('What links here?', :action => 'refer', :title => @page.title) -%>
  </div>

  <div class="revisioninfo">
    <strong>Revision:</strong> #<%= @page.revisions.length %> -
    <%= link_to "View page edit history", :action => 'history', :title => @page.title %>
  </div>

 <hr style="clear: both; visibility: hidden;">

<% if @title == "Home" && Siteinfo.frontpagecomments? -%>
 <div class="commentbox">
    <h4 align="center">Comments</h4>

    <%= render :partial => '/comment/comments' %><commit_msg>* app/views/page/show.rhtml: I'm tired...fixed logic.<commit_after><% @title = @page.title %>
<% @title = Siteinfo.main.name if @page.title == "Home" %>
<% @tab = "home" if @page.title == "Home" %>
<% @tab = "about" if @page.title == "About" %>

  <!-- google_ad_section_start -->
  <div class="wikipage">
    <%= @page.content_html %>
    <hr style="clear: both; visibility: hidden;">
  </div>
  <!-- google_ad_section_end -->

  <div class="editlink">
  <%= link_to('Edit this page', :action => 'edit', :title => @page.title) -%>
  </div>

  <div class="referlink">
  <%= link_to('What links here?', :action => 'refer', :title => @page.title) -%>
  </div>

  <div class="revisioninfo">
    <strong>Revision:</strong> #<%= @page.revisions.length %> -
    <%= link_to "View page edit history", :action => 'history', :title => @page.title %>
  </div>

 <hr style="clear: both; visibility: hidden;">

<% if @title != "Home" || Siteinfo.frontpagecomments? -%>
 <div class="commentbox">
    <h4 align="center">Comments</h4>

    <%= render :partial => '/comment/comments' %>
{'fraction_non_alphanumeric': 0.23666666666666666, 'fraction_numerical': 0.0019047619047619048, 'mean_word_length': 3.852193995381062, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 73, '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': '2727207', 'n_tokens_mistral': 786, 'n_tokens_neox': 733, 'n_words': 162}