<commit_before><!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title><%= yield(:title) %></title>

    <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Find free food, housing, clothes, medical care, jobs, and other human services." %>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    <meta name="google" value="notranslate">
    <meta http-equiv="Content-Language" content="en_US">
    <meta name="google-translate-customization" content="569f6c621d1c9cc6-60a55f4caded4d41-gf5c25b4be2fe7541-1b"></meta>
    <%= csrf_meta_tags %>

    <% # Place favicon.ico and apple-touch-icon.png in the root directory. %>
    <link href='http://fonts.googleapis.com/css?family=Libre+Baskerville:400,700' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Quattrocento+Sans:400,400italic,700' rel='stylesheet' type='text/css'>

    <%= stylesheet_link_tag 'application', :media => 'all' %>

    <% # Include scripts that fall outside of the requirejs modular system (such as Modernizr). %>
    <%= javascript_include_tag 'vendor' %>

    <% # Include Internet Explorer polyfills for legacy system compatibility. %>
    <!--[if lte IE 8]>  <%= javascript_include_tag 'ie8' %> <![endif]-->
    <!--[if IE 9]>      <%= javascript_include_tag 'ie9' %> <![endif]-->

    <!--[if lte IE 8]>
    <script type="text/javascript">
      // Check if browser supports the :checked selector.
      Modernizr.addTest('checkedselector', function() {
        return selectorSupported(':checked');
      });

      // If the :checked selector is not supported, the radio buttons will not be
      // styled correctly, so show the default radio buttons if :checked selector
      // is not supported.
      window.onload = function() {
        if (!Modernizr.checkedselector) {
          var radios = document.querySelectorAll("input[type=radio]");
          for(var r=0; r< radios.length; r++) {
            radios[r].style.visibility = "inherit";
          }
        }
      }
    </script>
    <![endif]-->

    <!--[if lte IE 9]>
    <script type="text/javascript">
      // Hack to handle suppression of JS errors in IE.
      // Normally JS errors would stop the page from loading,
      // but this allows the page to continue loading.
      window.onerror=function(){ return true; };
    </script>
    <![endif]-->

    <% if Rails.env.production? && ENV['GOOGLE_ANALYTICS_ID'].present? %>
      <%= render 'component/google_analytics/page_tracking' %>
    <% end %>

    <%= requirejs_include_tag("routes/#{controller_name}/#{action_name}").gsub( "/assets/routes/#{controller_name}/#{action_name}", "routes/#{controller_name}/#{action_name}").html_safe %>

    <%= yield(:head) %>
    <%= yield :canonical %>
  </head>
  <body class="<%= controller_name == 'home' ? '' : 'inside ' %><%= controller_name %> <%= action_name %>">

  <section id="content">

    <%= render 'component/status/alert' %>

    <header id="content-header">
      <h1 id="logo"><a href="/" target="_self"><img src="<%= asset_path(SETTINGS[:site_logo]) %>" alt="<%= SETTINGS[:site_title] %> Logo" /></a></h1>
      <h2>Find community services</h2>
      <nav>
        <ul>
          <li>
            <a title="Help" href="/about#about-box" id="about-btn" class="popup-trigger">About</a>
          </li>
          <li><a title="Contribute" href="/about#contribute-box" id="contribute-btn" class="popup-trigger" target="_self">Contribute</a></li>
          <li><a title="Feedback" href="/about#feedback-box" id="feedback-btn" class="popup-trigger" target="_self">Feedback</a></li>
        </ul>
      </nav>
      <div class='clearfix'>
      </div>
    </header>

    <% # Hide popups on /about because they are redundant to the content on that page. %>
    <% if controller_name != "about" %>
    <aside id="popups">
      <div class="popup-container hide"><div class="arrow"><span></span></div><%= render 'component/about/about' %></div>
      <div class="popup-container hide"><div class="arrow"><span></span></div><%= render 'component/about/contribute' %></div>
      <div class="popup-container hide"><div class="arrow"><span></span></div><%= render 'component/about/feedback' %></div>
    </aside>
    <% end %>

    <main class="main">
      <%= yield %>
    </main>

    <footer id='app-footer'>

      <p>A <a href='http://codeforamerica.org' target='_blank' title='Code for America'>Code for America</a> project <span class='cfaflag'></span> developed in partnership with the <a href='http://www.co.sanmateo.ca.us/portal/site/humanservices' target='_blank' title='San Mateo County Human Services agency'>San Mateo County Human Services Agency</a> and the <a href='http://www.knightfoundation.org/grants/201447979/' target='_blank' title='Knight Foundation Ohana API grant'>Knight Foundation</a>.
      </p>

      <p>
        <i class="fa fa-bullhorn"></i> <a href="https://github.com/codeforamerica/ohana-web-search">Get this app</a> for your city or <a href="http://ohanapi.org">view project details</a>.
      </p>

      <div id="google_translate_element"></div>
      <script type="text/javascript">
      function googleTranslateElementInit() {
        new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'af,ar,az,be,bg,bn,bs,ca,ceb,cs,da,de,el,en,es,et,eu,fa,fi,fr,ga,gl,gu,hi,hmn,hr,ht,hu,hy,id,is,it,iw,ja,jv,ka,km,kn,ko,lo,lt,lv,mk,mr,ms,mt,nl,no,pl,pt,ro,ru,sk,sl,sq,sr,sv,sw,ta,te,th,tl,tr,uk,ur,vi,yi,zh-CN,zh-TW', autoDisplay: false}, 'google_translate_element');
      }
      </script>
      <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

    </footer>

  </section>

  <% if Rails.env.production? && ENV['GOOGLE_ANALYTICS_ID'].present? %>
    <%= render 'component/google_analytics/event_tracking' %>
  <% end %>

  </body>
</html>
<commit_msg>Makes yield syntax consistent<commit_after><!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title><%= yield(:title) %></title>

    <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Find free food, housing, clothes, medical care, jobs, and other human services." %>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    <meta name="google" value="notranslate">
    <meta http-equiv="Content-Language" content="en_US">
    <meta name="google-translate-customization" content="569f6c621d1c9cc6-60a55f4caded4d41-gf5c25b4be2fe7541-1b"></meta>
    <%= csrf_meta_tags %>

    <% # Place favicon.ico and apple-touch-icon.png in the root directory. %>
    <link href='http://fonts.googleapis.com/css?family=Libre+Baskerville:400,700' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Quattrocento+Sans:400,400italic,700' rel='stylesheet' type='text/css'>

    <%= stylesheet_link_tag 'application', :media => 'all' %>

    <% # Include scripts that fall outside of the requirejs modular system (such as Modernizr). %>
    <%= javascript_include_tag 'vendor' %>

    <% # Include Internet Explorer polyfills for legacy system compatibility. %>
    <!--[if lte IE 8]>  <%= javascript_include_tag 'ie8' %> <![endif]-->
    <!--[if IE 9]>      <%= javascript_include_tag 'ie9' %> <![endif]-->

    <!--[if lte IE 8]>
    <script type="text/javascript">
      // Check if browser supports the :checked selector.
      Modernizr.addTest('checkedselector', function() {
        return selectorSupported(':checked');
      });

      // If the :checked selector is not supported, the radio buttons will not be
      // styled correctly, so show the default radio buttons if :checked selector
      // is not supported.
      window.onload = function() {
        if (!Modernizr.checkedselector) {
          var radios = document.querySelectorAll("input[type=radio]");
          for(var r=0; r< radios.length; r++) {
            radios[r].style.visibility = "inherit";
          }
        }
      }
    </script>
    <![endif]-->

    <!--[if lte IE 9]>
    <script type="text/javascript">
      // Hack to handle suppression of JS errors in IE.
      // Normally JS errors would stop the page from loading,
      // but this allows the page to continue loading.
      window.onerror=function(){ return true; };
    </script>
    <![endif]-->

    <% if Rails.env.production? && ENV['GOOGLE_ANALYTICS_ID'].present? %>
      <%= render 'component/google_analytics/page_tracking' %>
    <% end %>

    <%= requirejs_include_tag("routes/#{controller_name}/#{action_name}").gsub( "/assets/routes/#{controller_name}/#{action_name}", "routes/#{controller_name}/#{action_name}").html_safe %>

    <%= yield :head %>
    <%= yield :canonical %>
  </head>
  <body class="<%= controller_name == 'home' ? '' : 'inside ' %><%= controller_name %> <%= action_name %>">

  <section id="content">

    <%= render 'component/status/alert' %>

    <header id="content-header">
      <h1 id="logo"><a href="/" target="_self"><img src="<%= asset_path(SETTINGS[:site_logo]) %>" alt="<%= SETTINGS[:site_title] %> Logo" /></a></h1>
      <h2>Find community services</h2>
      <nav>
        <ul>
          <li>
            <a title="Help" href="/about#about-box" id="about-btn" class="popup-trigger">About</a>
          </li>
          <li><a title="Contribute" href="/about#contribute-box" id="contribute-btn" class="popup-trigger" target="_self">Contribute</a></li>
          <li><a title="Feedback" href="/about#feedback-box" id="feedback-btn" class="popup-trigger" target="_self">Feedback</a></li>
        </ul>
      </nav>
      <div class='clearfix'>
      </div>
    </header>

    <% # Hide popups on /about because they are redundant to the content on that page. %>
    <% if controller_name != "about" %>
    <aside id="popups">
      <div class="popup-container hide"><div class="arrow"><span></span></div><%= render 'component/about/about' %></div>
      <div class="popup-container hide"><div class="arrow"><span></span></div><%= render 'component/about/contribute' %></div>
      <div class="popup-container hide"><div class="arrow"><span></span></div><%= render 'component/about/feedback' %></div>
    </aside>
    <% end %>

    <main class="main">
      <%= yield %>
    </main>

    <footer id='app-footer'>

      <p>A <a href='http://codeforamerica.org' target='_blank' title='Code for America'>Code for America</a> project <span class='cfaflag'></span> developed in partnership with the <a href='http://www.co.sanmateo.ca.us/portal/site/humanservices' target='_blank' title='San Mateo County Human Services agency'>San Mateo County Human Services Agency</a> and the <a href='http://www.knightfoundation.org/grants/201447979/' target='_blank' title='Knight Foundation Ohana API grant'>Knight Foundation</a>.
      </p>

      <p>
        <i class="fa fa-bullhorn"></i> <a href="https://github.com/codeforamerica/ohana-web-search">Get this app</a> for your city or <a href="http://ohanapi.org">view project details</a>.
      </p>

      <div id="google_translate_element"></div>
      <script type="text/javascript">
      function googleTranslateElementInit() {
        new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'af,ar,az,be,bg,bn,bs,ca,ceb,cs,da,de,el,en,es,et,eu,fa,fi,fr,ga,gl,gu,hi,hmn,hr,ht,hu,hy,id,is,it,iw,ja,jv,ka,km,kn,ko,lo,lt,lv,mk,mr,ms,mt,nl,no,pl,pt,ro,ru,sk,sl,sq,sr,sv,sw,ta,te,th,tl,tr,uk,ur,vi,yi,zh-CN,zh-TW', autoDisplay: false}, 'google_translate_element');
      }
      </script>
      <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

    </footer>

  </section>

  <% if Rails.env.production? && ENV['GOOGLE_ANALYTICS_ID'].present? %>
    <%= render 'component/google_analytics/event_tracking' %>
  <% end %>

  </body>
</html>

{'fraction_non_alphanumeric': 0.19352796898488805, 'fraction_numerical': 0.012342748635176834, 'mean_word_length': 3.6487679293858037, 'pattern_counts': {'":': 0, '<': 311, '<?xml version=': 0, '>': 309, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '5271085', 'n_tokens_mistral': 4456, 'n_tokens_neox': 4122, 'n_words': 866}