summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/debian/0009-remove-googleanalytics.patch17
-rw-r--r--debian/patches/series1
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/debian/0009-remove-googleanalytics.patch b/debian/patches/debian/0009-remove-googleanalytics.patch
new file mode 100644
index 000000000..c3475c49b
--- /dev/null
+++ b/debian/patches/debian/0009-remove-googleanalytics.patch
@@ -0,0 +1,17 @@
+From: Lennart Weller <lhw@ring0.de>
+Date: Mon, 11 Feb 2019 10:34:11 +0100
+Subject: Remove googleanalytics
+
+---
+ docs/generator/custom/themes/material/partials/footer.html | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/docs/generator/custom/themes/material/partials/footer.html b/docs/generator/custom/themes/material/partials/footer.html
+index fe232b6..1207966 100644
+--- a/docs/generator/custom/themes/material/partials/footer.html
++++ b/docs/generator/custom/themes/material/partials/footer.html
+@@ -51,4 +51,3 @@
+ </div>
+ </div>
+ </footer>
+-<script>!function(e,a,t,n,o,c,i){e.GoogleAnalyticsObject=o,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,c=a.createElement(t),i=a.getElementsByTagName(t)[0],c.async=1,c.src="https://www.google-analytics.com/analytics.js",i.parentNode.insertBefore(c,i)}(window,document,"script",0,"ga"),ga("create","UA-64295674-3",""),ga("set","anonymizeIp",!0),ga("send","pageview","/doc"+window.location.pathname);var links=document.getElementsByTagName("a");if(Array.prototype.map.call(links,function(a){a.host!=document.location.host&&a.addEventListener("click",function(){var e=a.getAttribute("data-md-action")||"follow";ga("send","event","outbound",e,a.href)})}),document.forms.search){var query=document.forms.search.query;query.addEventListener("blur",function(){if(this.value){var e=document.location.pathname;ga("send","pageview",e+"?q="+this.value)}})}</script>
diff --git a/debian/patches/series b/debian/patches/series
index 486dbbf4c..d3cf6a077 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,4 +6,5 @@ debian/0005-remove-infographic.patch
debian/0006-remove-contrib-files.patch
debian/0007-remove-update-button.patch
debian/0008-remove-social-media-buttons.patch
+debian/0009-remove-googleanalytics.patch
upstream/0001-allow-symlinks.patch