You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/08/12 23:37:27 UTC

git commit: docs: Update template to include google analytics snippet.

Updated Branches:
  refs/heads/trunk 2dd1fb261 -> afd5fb40f


docs: Update template to include google analytics snippet.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/afd5fb40
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/afd5fb40
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/afd5fb40

Branch: refs/heads/trunk
Commit: afd5fb40f6fe67dc893877387a6a1f738be11fab
Parents: 2dd1fb2
Author: Tomaz Muraus <to...@apache.org>
Authored: Mon Aug 12 23:37:14 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Mon Aug 12 23:37:14 2013 +0200

----------------------------------------------------------------------
 docs/_templates/layout.html | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/afd5fb40/docs/_templates/layout.html
----------------------------------------------------------------------
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
new file mode 100644
index 0000000..41ed4f0
--- /dev/null
+++ b/docs/_templates/layout.html
@@ -0,0 +1,15 @@
+{% extends "!layout.html" %}
+
+{% block footer %}
+{{ super() }}
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-23580482-2', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+{% endblock %}