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 29 30 31 32 33
|
Description: Remove Google Analytics and Google+ javascript.
It is not relevant for an offline and private installation.
Author: Simon Chopin <chopin.simon@gmail.com>
Forwarded: not-needed
Last-Update: 2012-04-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -2,23 +2,8 @@
{% block relbaritems %}
{{ super() }}
-<g:plusone></g:plusone>
{% endblock %}
{% block footer %}
{{ super() }}
-<script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-7597274-13']);
- _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>
-<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
{% endblock %}
|