<commit_before><!DOCTYPE html>
<head>
  <title><%= h(page_title) %></title>
  <%= stylesheet_link_tag "/stylesheets/theme/style", :media => 'all' %>
  <%= stylesheet_link_tag "/stylesheets/theme/rounded-corners", :media => 'all' %>
  <%= page_header %>
  <script type="text/javascript">var switchTo5x=false;</script>
  <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
  <script type="text/javascript">stLight.options({publisher:'f6a0b5cc-f7c5-46a1-b5fb-cf296d4d060f'});</script>
  <%= javascript_include_tag "modernizr.min.js"%>
</head>
<body>
  <div id='container'>
    <div id='logo'>
    <% if controller.controller_name == 'articles' and controller.action_name.include? 'index' %>
      <h1 class='blogtitle'><%= link_to(this_blog.blog_name, this_blog.base_url) %></h1>
    <% else %>
      <h1 class='blogtitle'><%= link_to(this_blog.blog_name, this_blog.base_url) %></h1>
    <% end %>
      <p><%= this_blog.blog_subtitle %></p>
    </div>
    <div id='page'>
      <div id='content'>
        <%= yield %>
      </div>
      <div id='sidebar'>
        <%= render_sidebars_with_div %>
      </div>
      <br class='clear' />
      <div id='legal'>
        <ul>
          <%= content_tag(:li, link_to(_('Home'), this_blog.base_url, {:class => render_active_home}))%>
          <%= content_tag(:li, link_to(_('Articles'), {:controller => 'categories'}, {:class => render_active_articles}))%>
          <%= show_pages_links %>
        </ul>
      </div>
    </div>

  <!-- Absolutely positionned -->
  <ul id='menu'>
    <%= content_tag(:li, link_to(_('Home'), this_blog.base_url, {:class => render_active_home}))%>
    <%= content_tag(:li, link_to(_('Articles'), {:controller => 'categories'}, {:class => render_active_articles}))%>
    <%= show_pages_links %>
  </ul>
  <div id="breadcrumb" class='float_top'>
    <%= render_breadcrumb %>
  </div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try{
var pageTracker = _gat._getTracker("UA-2179350-2");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html><commit_msg>adding google analytics in home article page<commit_after><!DOCTYPE html>
<head>
  <title><%= h(page_title) %></title>
  <%= stylesheet_link_tag "/stylesheets/theme/style", :media => 'all' %>
  <%= stylesheet_link_tag "/stylesheets/theme/rounded-corners", :media => 'all' %>
  <%= page_header %>
  <script type="text/javascript">var switchTo5x=false;</script>
  <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
  <script type="text/javascript">stLight.options({publisher:'f6a0b5cc-f7c5-46a1-b5fb-cf296d4d060f'});</script>
  <%= javascript_include_tag "modernizr.min.js"%>
    <script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-2179350-2']);
    _gaq.push(['_trackPageview']);
  
    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  </script>
</head>
<body>
  <div id='container'>
    <div id='logo'>
    <% if controller.controller_name == 'articles' and controller.action_name.include? 'index' %>
      <h1 class='blogtitle'><%= link_to(this_blog.blog_name, this_blog.base_url) %></h1>
    <% else %>
      <h1 class='blogtitle'><%= link_to(this_blog.blog_name, this_blog.base_url) %></h1>
    <% end %>
      <p><%= this_blog.blog_subtitle %></p>
    </div>
    <div id='page'>
      <div id='content'>
        <%= yield %>
      </div>
      <div id='sidebar'>
        <%= render_sidebars_with_div %>
      </div>
      <br class='clear' />
      <div id='legal'>
        <ul>
          <%= content_tag(:li, link_to(_('Home'), this_blog.base_url, {:class => render_active_home}))%>
          <%= content_tag(:li, link_to(_('Articles'), {:controller => 'categories'}, {:class => render_active_articles}))%>
          <%= show_pages_links %>
        </ul>
      </div>
    </div>

  <!-- Absolutely positionned -->
  <ul id='menu'>
    <%= content_tag(:li, link_to(_('Home'), this_blog.base_url, {:class => render_active_home}))%>
    <%= content_tag(:li, link_to(_('Articles'), {:controller => 'categories'}, {:class => render_active_articles}))%>
    <%= show_pages_links %>
  </ul>
  <div id="breadcrumb" class='float_top'>
    <%= render_breadcrumb %>
  </div>
</body>
</html>
{'fraction_non_alphanumeric': 0.21421085726262837, 'fraction_numerical': 0.013204778872353804, 'mean_word_length': 3.9195876288659792, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 143, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '5596', 'n_tokens_mistral': 1796, 'n_tokens_neox': 1681, 'n_words': 270}