Skip to content

Commit

Permalink
analytics asynchronous snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
javier committed Feb 19, 2010
1 parent aa7310c commit 84ad5b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/application.html.erb
Expand Up @@ -18,6 +18,7 @@
<%= stylesheet_link_tag 'screen', 'custom', :cache => true %>
<!--[if IE]><link rel="stylesheet" href="/stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]-->
<%= javascript_include_tag :defaults, :cache => true %>
<%= render :partial => 'shared/google_analytics' if RAILS_ENV=='production' && !PLANETOID_CONF[:google][:analytics].to_s.strip.blank? -%>
</head>

<body>
Expand All @@ -44,7 +45,6 @@
<%= render :partial => 'shared/header', :locals=>{:rss_link=>rss_link} if PLANETOID_CONF[:layout][:home][:show_header] %>
<%= yield %>
<%= render :partial => 'shared/footer' if PLANETOID_CONF[:layout][:home][:show_footer] %>
</div>
<%= render :partial => 'shared/google_analytics' if RAILS_ENV=='production' && !PLANETOID_CONF[:google][:analytics].to_s.strip.blank? -%>
</div>
</body>
</html>

0 comments on commit 84ad5b2

Please sign in to comment.