<commit_before>doctype html
/ http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
/[if lte IE 8 ]
  |<html class="lt-ie9" lang="en">
/[if IE 9 ]
  |<html class="ie9" lang="en">
/[if (gt IE 9)|!(IE)]
  |<html lang="en">

head
  title= t('site.meta_title', title: (@title || yield(:title)), company_name: ::Configuration[:company_name])
  meta[charset="utf-8"]
  meta name="robots" content="index, follow"
  meta[name="viewport" content="width=device-width, initial-scale=1.0"]

  -# Stylesheets & Favicon
  = favicon_link_tag 'favicon.ico'
  = stylesheet_link_tag :normalize, 'data-turbolinks-track' => true
  = stylesheet_link_tag :animate, 'data-turbolinks-track' => true
  = stylesheet_link_tag :application, 'data-turbolinks-track' => true
  = stylesheet_link_tag "//fonts.googleapis.com/css?family=Lato:300,400,700", 'data-turbolinks-track' => true

  -# CSRF protection
  = csrf_meta_tag

  - if content_for? :meta_tags
    /project specific meta tags
    = yield :meta_tags
  - else
    /meta tags for the whole site
    meta name="description"         content=t('site.description')
    meta name="keywords"            content=t('site.keywords')
    meta property="og:title"        content=t('site.title')
    meta property="og:type"         content=:cause
    meta property="og:url"          content=url_for(only_path: false)
    meta property="og:image"        content=image_url('neighborly/neighborly_ograph_logo.jpg')
    meta property="og:site_name"    content=::Configuration[:company_name]
    meta property="fb:app_id"       content=::Configuration[:facebook_app_id]
    meta property="og:description"  content=t('site.ograph.description')

  /[if lt IE 9]
    = javascript_include_tag "http://html5shiv.googlecode.com/svn/trunk/html5.js"
  = javascript_include_tag 'vendor/custom.modernizr', 'data-turbolinks-track' => true
  = javascript_include_tag :application, 'data-turbolinks-track' => true
  = render 'layouts/analytics'
body
  = initjs_tag app_name: 'Neighborly'
  = render_facebook_sdk
  = render 'layouts/loader'
  = render 'layouts/header'
  = flash_messages
  /.row.content
  = yield
  = render 'layouts/footer'
  = yield :modals
  = render 'layouts/uservoice'
|</html><commit_msg>Move JS tags to verry end of the body<commit_after>doctype html
/ http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
/[if lte IE 8 ]
  |<html class="lt-ie9" lang="en">
/[if IE 9 ]
  |<html class="ie9" lang="en">
/[if (gt IE 9)|!(IE)]
  |<html lang="en">

head
  title= t('site.meta_title', title: (@title || yield(:title)), company_name: ::Configuration[:company_name])
  meta[charset="utf-8"]
  meta name="robots" content="index, follow"
  meta[name="viewport" content="width=device-width, initial-scale=1.0"]

  -# Stylesheets & Favicon
  = favicon_link_tag 'favicon.ico'
  = stylesheet_link_tag :normalize, 'data-turbolinks-track' => true
  = stylesheet_link_tag :animate, 'data-turbolinks-track' => true
  = stylesheet_link_tag :application, 'data-turbolinks-track' => true
  = stylesheet_link_tag "//fonts.googleapis.com/css?family=Lato:300,400,700", 'data-turbolinks-track' => true

  -# CSRF protection
  = csrf_meta_tag

  - if content_for? :meta_tags
    /project specific meta tags
    = yield :meta_tags
  - else
    /meta tags for the whole site
    meta name="description"         content=t('site.description')
    meta name="keywords"            content=t('site.keywords')
    meta property="og:title"        content=t('site.title')
    meta property="og:type"         content=:cause
    meta property="og:url"          content=url_for(only_path: false)
    meta property="og:image"        content=image_url('neighborly/neighborly_ograph_logo.jpg')
    meta property="og:site_name"    content=::Configuration[:company_name]
    meta property="fb:app_id"       content=::Configuration[:facebook_app_id]
    meta property="og:description"  content=t('site.ograph.description')
body.f-topbar-fixed
  = render 'layouts/analytics'
  = initjs_tag app_name: 'Neighborly'
  = render_facebook_sdk
  = render 'layouts/loader'
  = render 'layouts/header'
  = flash_messages
  /.row.content
  = yield
  = render 'layouts/footer'
  = yield :modals
  = render 'layouts/uservoice'


  /[if lt IE 9]
    = javascript_include_tag "http://html5shiv.googlecode.com/svn/trunk/html5.js", 'data-turbolinks-eval' => false
  = javascript_include_tag 'vendor/custom.modernizr', 'data-turbolinks-eval' => false
  = javascript_include_tag :application, 'data-turbolinks-eval' => false
|</html>
{'fraction_non_alphanumeric': 0.1465991635483161, 'fraction_numerical': 0.010565705480959718, 'mean_word_length': 4.222988505747127, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 24, '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': '5202523', 'n_tokens_mistral': 1645, 'n_tokens_neox': 1557, 'n_words': 289}