<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><%= cleanse(@page_title ? "#{@page_title} &raquo; " : "") %>Calagator: Portland's Tech Calendar</title>
    <%= theme_stylesheet_link_tag 'reset', 
                                  'typography', 
                                  'forms', 
                                  'layout', 
                                  :media => :all, 
                                  :cache => true %>
    <%= theme_stylesheet_link_tag 'print', :media => :print %>

    <%= yield :css_insert %>
    <%= javascript_include_tag  'jquery-1.2.3.min.js',
                                'jquery-ui',
                                'jquery-fx',
                                'jrails',
                                :cache => true %>
    <%= theme_javascript_include_tag 'application'%>
    <%= yield :javascript_insert %>
    
    <%= yield :discovery_insert %>
    <%= auto_discovery_link_tag(:atom, formatted_events_url('atom'), :title => 'Atom: All Events' )%>
  </head>
  <body>

  <div id="outer">
    <div id="global_header">
      <a href="/" id="project_title">Calagator</a>

      <div id="top_menu">

          <%
          link_class = {
              # :home =>   (controller.controller_name == 'site' ? 'active first' : 'first'),
              # :import => (controller.controller_name == 'sources' && 'active'),
              :events => (( controller.controller_name == 'events' ||
                            controller.controller_name == 'sources' ||
                            controller.controller_name == 'site')  && 'active'),
              :venues => (controller.controller_name == 'venues'  && 'active'),
            }<commit_msg>Added section headers to calagator theme's application layout HEAD.<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><%= cleanse(@page_title ? "#{@page_title} &raquo; " : "") %>Calagator: Portland's Tech Calendar</title>

    <!-- Stylesheets, static -->
    <%= theme_stylesheet_link_tag 'reset', 
                                  'typography', 
                                  'forms', 
                                  'layout', 
                                  :media => :all, 
                                  :cache => true %>
    <%= theme_stylesheet_link_tag 'print', :media => :print %>

    <!-- Stylesheets, inserted  -->
    <%= yield :css_insert %>

    <!-- JavaScripts, static -->
    <%= javascript_include_tag  'jquery-1.2.3.min.js',
                                'jquery-ui',
                                'jquery-fx',
                                'jrails',
                                :cache => true %>
    <%= theme_javascript_include_tag 'application'%>

    <!-- JavaScripts, inserted -->
    <%= yield :javascript_insert %>
    
    <!-- Auto-discovery, static -->
    <%= auto_discovery_link_tag(:atom, formatted_events_url('atom'), :title => 'Atom: All Events' )%>

    <!-- Auto-discovery, inserted -->
    <%= yield :discovery_insert %>
  </head>
  <body>

  <div id="outer">
    <div id="global_header">
      <a href="/" id="project_title">Calagator</a>

      <div id="top_menu">

          <%
          link_class = {
              # :home =>   (controller.controller_name == 'site' ? 'active first' : 'first'),
              # :import => (controller.controller_name == 'sources' && 'active'),
              :events => (( controller.controller_name == 'events' ||
                            controller.controller_name == 'sources' ||
                            controller.controller_name == 'site')  && 'active'),
              :venues => (controller.controller_name == 'venues'  && 'active'),
            }
{'fraction_non_alphanumeric': 0.16686878486538928, 'fraction_numerical': 0.007276255154014068, 'mean_word_length': 1.7185234014502306, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3008965', 'n_tokens_mistral': 1281, 'n_tokens_neox': 1149, 'n_words': 206}