01_remove_google_analytics.patch 902 Bytes
Newer Older
1 2 3 4
Description: remove google analytics script
Author: Anton Gladky <gladk@debian.org>
Last-Update: 2014-01-14

Anton Gladky's avatar
Anton Gladky committed
5
Index: yade/doc/sphinx/templates/layout.html
6
===================================================================
Anton Gladky's avatar
Anton Gladky committed
7 8
--- yade.orig/doc/sphinx/templates/layout.html
+++ yade/doc/sphinx/templates/layout.html
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
@@ -16,19 +16,6 @@
 {% endblock %}
 
 
-{% block footer %}
-{{ super() }}
-<script type="text/javascript">
-	(function() {
-	 var ga = document.createElement('script');
-	 ga.src = ('https:' == document.location.protocol ?
-		 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-	 ga.setAttribute('async', 'true');
-	 document.documentElement.firstChild.appendChild(ga);
-	 })();
-</script>
-  {% endblock %}
-
 {% block rootrellink %}
         <li><a href="{{ pathto('index') }}">Yade</a>&nbsp;|&nbsp;</li>
         <li><a href="{{ pathto('index-toctree') }}">Documentation</a>