[Python-modules-commits] [pytest] 03/10: Remove Google Analytics and Google+ javascript.
Barry Warsaw
barry at moszumanska.debian.org
Thu Dec 17 00:08:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository pytest.
commit 15c25bf715e58fb1ff1016bbbf7c631c2f54c749
Author: Simon Chopin <chopin.simon at gmail.com>
Date: Thu Oct 8 11:04:33 2015 -0700
Remove Google Analytics and Google+ javascript.
It is not relevant for an offline and private installation.
Forwarded: not-needed
Last-Update: 2012-04-09
Patch-Name: remove_google_js
---
doc/en/_templates/layout.html | 23 +++++------------------
1 file changed, 5 insertions(+), 18 deletions(-)
diff --git a/doc/en/_templates/layout.html b/doc/en/_templates/layout.html
index dfb77af..35b0b58 100644
--- a/doc/en/_templates/layout.html
+++ b/doc/en/_templates/layout.html
@@ -1,18 +1,5 @@
-{% extends "!layout.html" %}
-
-{% 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>
-{% endblock %}
+{% extends "!layout.html" %}
+
+{% block footer %}
+{{ super() }}
+{% endblock %}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest.git
More information about the Python-modules-commits
mailing list