File: 0001-Avoid-loading-fonts-from-Google-in-documentation.patch

package info (click to toggle)
geoalchemy2 0.12.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,064 kB
  • sloc: python: 6,217; makefile: 133
file content (22 lines) | stat: -rw-r--r-- 892 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Edward Betts <edward@4angle.com>
Date: Thu, 3 Sep 2020 14:39:30 +0100
Subject: Avoid loading fonts from Google in documentation

Loading fonts from Google creates a potential privacy breach.
---
 doc/_themes/flask/layout.html | 2 --
 1 file changed, 2 deletions(-)

diff --git a/doc/_themes/flask/layout.html b/doc/_themes/flask/layout.html
index 1fd054e..5caa4e2 100644
--- a/doc/_themes/flask/layout.html
+++ b/doc/_themes/flask/layout.html
@@ -6,8 +6,6 @@
   {% endif %}
   <link media="only screen and (max-device-width: 480px)" href="{{
     pathto('_static/small_flask.css', 1) }}" type= "text/css" rel="stylesheet" />
-  <link href="//fonts.googleapis.com/css?family=Bree+Serif" rel="stylesheet" type="text/css">
-  <link href="//fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
 {% endblock %}
 {%- block relbar2 %}{% endblock %}
 {% block header %}