Package: pycsw / 2.6.0+dfsg-1

0001-Remove-google-analytics.patch 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
25
26
27
28
Description: Remove google analytics
Author: Johan Van de Wauw <johan.vandewauw@gmail.com>
Forwarded: not-needed

--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -3,21 +3,6 @@
 {%- block extrahead %}
 {{ super() }}
 
-<script type="text/javascript">
-
-  var _gaq = _gaq || [];
-  _gaq.push(['_setAccount', 'UA-32855587-1']);
-  _gaq.push(['_setDomainName', 'pycsw.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>
-
 {% endblock %}
 
 {% block relbar1 %}