From c5684dc418d98cc3083d1b2bfb0e4cffb96627ba Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Thu, 16 Jul 2026 15:03:25 +0200 Subject: [PATCH] chore: remove unused Google Fonts links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Open Sans and Material Icons were loaded from fonts.googleapis.com but neither font is referenced by font-family anywhere in the application: - Open Sans was last used as the Foundation body font — removed in 2022 when Foundation was deleted during the Bootstrap 5 migration - Material Icons was added in 2019 and never referenced in any CSS Font Awesome 5 is already self-hosted via the font_awesome5_rails gem. Plausible analytics is also self-hosted. Removing these two tags eliminates all external font requests, resolving the GDPR concern with no visual change. --- app/views/layouts/application.html.haml | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index e46c5e687..0ca8b4480 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -21,8 +21,6 @@ = favicon_link_tag 'favicon.ico' = stylesheet_link_tag('application', media: 'all', data: { turbo_track: 'reload' }) = javascript_include_tag('application', data: { turbo_track: 'reload' }) - %link{ href: 'https://fonts.googleapis.com/css?family=Open+Sans:400,300', rel: 'stylesheet', type: 'text/css' } - %link{ href: 'https://fonts.googleapis.com/icon?family=Material+Icons', rel: 'stylesheet', type: 'text/css' } // this gets any content from page templates = content_for :head