You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2025/05/20 14:19:33 UTC

(mynewt-site) 01/02: Remove externally loaded fonts

This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-site.git

commit 875d98a370320bc01f4f3bd0143d958744d086b3
Author: Piotr Narajowski <pi...@codecoup.pl>
AuthorDate: Thu Apr 17 11:22:41 2025 +0200

    Remove externally loaded fonts
    
    It is recommended in ASF Security Policy not to use any external
    resources.
    "ASF projects don’t have any reason to load Google Fonts from
    Google servers"
    please see https://privacy.apache.org/faq/committers.html
---
 custom-theme/main.html | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/custom-theme/main.html b/custom-theme/main.html
index 8092a3cab9..522af96da6 100644
--- a/custom-theme/main.html
+++ b/custom-theme/main.html
@@ -18,8 +18,7 @@
         <link href="{{ base_url }}/css/base.css" rel="stylesheet">
         <link href="{{ base_url }}/css/custom.css" rel="stylesheet">
         <link href="{{ base_url }}/css/v2.css" rel="stylesheet">
-        <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
-        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+        <link href="{{ base_url }}/css/font-awesome-4.0.3.css" rel="stylesheet">
         {%- for path in config.extra_css %}
         <link href="{{ path }}" rel="stylesheet">
         {%- endfor %}