aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/templates/analytics.html
diff options
context:
space:
mode:
authorMassimo Santini <massimo.santini@gmail.com>2011-12-05 23:43:04 +0100
committerMassimo Santini <massimo.santini@gmail.com>2011-12-05 23:43:04 +0100
commitdc67ee39fcfc6ae8cbcc56fffd39242b839f8cd3 (patch)
tree66b96f17911a0f2142515162d7ad38ec0b9b3b28 /bootstrap/templates/analytics.html
parent28bc815799239f17f896b3b64929a0356fd090db (diff)
downloadpelican-themes-dc67ee39fcfc6ae8cbcc56fffd39242b839f8cd3.tar.gz
A new theme based on Bootstrap from Twitter
Diffstat (limited to 'bootstrap/templates/analytics.html')
-rw-r--r--bootstrap/templates/analytics.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap/templates/analytics.html b/bootstrap/templates/analytics.html
new file mode 100644
index 0000000..62f8511
--- /dev/null
+++ b/bootstrap/templates/analytics.html
@@ -0,0 +1,3 @@
+{% if GOOGLE_ANALYTICS %}
+<script>var _gaq=[['_setAccount','{{GOOGLE_ANALYTICS}}'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'))</script>
+{% endif %} \ No newline at end of file