File: no-web-adds.patch

package info (click to toggle)
python-biom-format 2.1.7%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 51,820 kB
  • sloc: python: 12,757; makefile: 155; sh: 79
file content (35 lines) | stat: -rw-r--r-- 1,196 bytes parent folder | download | duplicates (5)
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
34
35
Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 20 May 2014 19:16:23 +0200
Description: Save user privacy by preventing inclusion of web adds

--- a/doc/_templates/layout.html
+++ /dev/null
@@ -1,28 +0,0 @@
-{% extends "!layout.html" %}
-
-{# Add github banner (from: https://github.com/blog/273-github-ribbons). #}
-{% block header %}
-  {{ super() }}
-  <a href="https://github.com/biocore/biom-format"><img
-    style="position: absolute; top: 0; right: 0; border: 0;"
-    src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
-    alt="Fork me on GitHub"></a>
-{% endblock %}
-
-{# include the Google Analytics Tracker #}
-{% block footer %}
-{{ super() }}
-<script type="text/javascript">
-
-  var _gaq = _gaq || [];
-  _gaq.push(['_setAccount', 'UA-6636235-6']);
-  _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 %}