doctype html
html
  head
    title #{current_page.data.title}
    meta name="viewport" content="width=device-width,initial-scale=1"
    | #{stylesheet_link_tag "normalize", "all", "gridism"}
    | #{javascript_include_tag "all"}

  body
    == yield

doctype html
html
  head
    title #{current_page.data.title}
    meta name="viewport" content="width=device-width,initial-scale=1"
    | #{stylesheet_link_tag "normalize", "all", "gridism"}
    | #{javascript_include_tag "all"}

  body
    == yield

    javascript:
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-46717714-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);
      })();

Add Google Analytics for the site.
Add Google Analytics for the site.

- Add Google Analytics javascript to layout view.

borwahs/natalieandrob.com,borwahs/natalieandrob.com