<commit_before><% content_for :content do %>
  <%= render 'layouts/news' %>
  <div id="header">
    <div id="title"><h2 id="site-title"><%= link_to image_tag('logo_small.png', :alt => CONFIG['app_name'], :size=> '484x75', :id => 'logo'), CONFIG['url_base'] %><span><%= tag_header(params[:tags]) %></span></h2></div>
    <%= render :partial => "layouts/menu" %>
  </div>
  <%= render :partial => "layouts/login" %>

  <% if CONFIG["server_host"] == "yande.re" %>
    <%# This is actually just to keyword "image board" and "danbooru" for searches like
        "tinkle danbooru".  Be careful, this looks very stupid in search results if taken
        too far: "Sex hentai porn danbooru image board"; this should hint search engines,
        not spam them. %>
    <div style="display: none;">Danbooru-based image board with a specialization in high-quality images.</div>
  <% end %>

  <!--[if lt IE 7]>
  <div style="display: none;" id="old-browser"><%= t('.old_browser.info') %>
    <%= t('.old_browser.suggestion') %>:
    <a href="http://www.mozilla.com/firefox/">Firefox</a>,
    <a href="http://www.opera.com/">Opera</a>,
    <a href="http://www.microsoft.com/windows/internet-explorer/download-ie.aspx">Internet Explorer</a>.
    <div style="text-align: right;" id="old-browser-hide">
      <a href="#" onclick='$("old-browser").hide(); Cookie.put("hide-ie-nag", "1");'><%= t('.old_browser.hide') %></a>
    </div>
  </div>
  <![endif]-->
  <%= render :partial => "layouts/notice" %>

  <div class="blocked" id="block-reason" style="display: none;">
  </div>

  <div id="content">
    <%= yield %>
    <% if content_for? :subnavbar %><commit_msg>Doesn't seem to work anymore<commit_after><% content_for :content do %>
  <%= render 'layouts/news' %>
  <div id="header">
    <div id="title"><h2 id="site-title"><%= link_to image_tag('logo_small.png', :alt => CONFIG['app_name'], :size=> '484x75', :id => 'logo'), CONFIG['url_base'] %><span><%= tag_header(params[:tags]) %></span></h2></div>
    <%= render :partial => "layouts/menu" %>
  </div>
  <%= render :partial => "layouts/login" %>

  <!--[if lt IE 7]>
  <div style="display: none;" id="old-browser"><%= t('.old_browser.info') %>
    <%= t('.old_browser.suggestion') %>:
    <a href="http://www.mozilla.com/firefox/">Firefox</a>,
    <a href="http://www.opera.com/">Opera</a>,
    <a href="http://www.microsoft.com/windows/internet-explorer/download-ie.aspx">Internet Explorer</a>.
    <div style="text-align: right;" id="old-browser-hide">
      <a href="#" onclick='$("old-browser").hide(); Cookie.put("hide-ie-nag", "1");'><%= t('.old_browser.hide') %></a>
    </div>
  </div>
  <![endif]-->
  <%= render :partial => "layouts/notice" %>

  <div class="blocked" id="block-reason" style="display: none;">
  </div>

  <div id="content">
    <%= yield %>
    <% if content_for? :subnavbar %>
{'fraction_non_alphanumeric': 0.24157303370786518, 'fraction_numerical': 0.006320224719101123, 'mean_word_length': 3.998245614035088, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 94, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6795401', 'n_tokens_mistral': 1081, 'n_tokens_neox': 990, 'n_words': 213}