Skip to content
Browse files

+ analytics

  • Loading branch information...
1 parent 4423317 commit 570b5d571a8d1f48e5e5ec03d1d0e1dd5ba75398 @floere floere committed May 13, 2012
Showing with 25 additions and 3 deletions.
  1. +5 −1 README
  2. +8 −2 build/index.html
  3. +10 −0 source/_analytics.html.slim
  4. +2 −0 source/layout.slim
View
6 README
@@ -1,4 +1,8 @@
Website for
technologyastronauts.com
-technologyastronauts.ch
+technologyastronauts.ch
+
+Build with
+
+middleman build
View
10 build/index.html
@@ -3,8 +3,14 @@
<head>
<link href="http://fonts.googleapis.com/css?family=Asap" rel="stylesheet" type="text/css" />
<link href="./stylesheets/snazzy.css" media="screen" rel="stylesheet" type="text/css" />
- <title>The Technology Astronauts</title>
- </head>
+ <title>The Technology Astronauts</title><script type="text/javascript">var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-31680814-1']);
+ _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);
+ })();</script></head>
<body><div class="content">
<h1>Technology Astronauts</h1><p>We&#8217;re a small team of engineers. We like to provide good solutions. We like
doing things that last. We don&#8217;t like hidden costs. We like no-bullshit
View
10 source/_analytics.html.slim
@@ -0,0 +1,10 @@
+javascript:
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-31680814-1']);
+ _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);
+ })();
View
2 source/layout.slim
@@ -12,5 +12,7 @@ html
rel="stylesheet" type="text/css" }
title The Technology Astronauts
+
+ == partial 'analytics'
body
== yield

0 comments on commit 570b5d5

Please sign in to comment.
Something went wrong with that request. Please try again.