updated docs theme
authorAlexander Shishkov <no@email>
Tue, 3 Jul 2012 15:37:49 +0000 (15:37 +0000)
committerAlexander Shishkov <no@email>
Tue, 3 Jul 2012 15:37:49 +0000 (15:37 +0000)
doc/_themes/blue/layout.html

index f5b187a..5bc9c86 100644 (file)
                          (sidebars != []) %}
 {%- set url_root = pathto('', 1) %}
 {%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
+<script type="text/javascript">
 
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-33108845-1']);
+  _gaq.push(['_setDomainName', 'opencv.org']);
+  _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>
 {%- macro relbar() %}
     <div class="related">
       <h3>{{ _('Navigation') }}</h3>