aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Just-Read/templates/base.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/Just-Read/templates/base.html b/Just-Read/templates/base.html
index cf31d29..d04298c 100644
--- a/Just-Read/templates/base.html
+++ b/Just-Read/templates/base.html
@@ -62,12 +62,13 @@
Proudly powered by <a href="http://alexis.notmyidea.org/pelican/">Pelican</a>.</p>
</div>
</footer>
-
+ {% 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=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
+ {% endif %}
</body>
</html>