Package: nose / 1.3.4-1

no-google-analytics Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Remove Google Analytics tracking JS
Author: Stefano Rivera <stefanor@debian.org>
Forwarded: not-needed
Last-Update: 2013-03-04

--- a/doc/.templates/layout.html
+++ b/doc/.templates/layout.html
@@ -3,16 +3,3 @@
 {%- block relbar1 %}
 {% if pagename != 'index' %}{{ super() }}{% endif %}
 {% endblock %}
-
-{%- block footer %}
-{{ super() }}
-{% if not embedded %}
-<script src="http://www.google-analytics.com/urchin.js" 
-        type="text/javascript">
-</script>
-<script type="text/javascript">
-  _uacct = "UA-2236166-1";
-  urchinTracker();
-</script>
-{% endif %}
-{%- endblock %}