Skip to content

html: use system fonts instead of Google Fonts - #210

Open
gStart9 wants to merge 1 commit into
mpolden:masterfrom
gStart9:system-fonts
Open

gStart9 wants to merge 1 commit into
mpolden:masterfrom
gStart9:system-fonts

Conversation

@gStart9

@gStart9 gStart9 commented Nov 24, 2026

Copy link
Copy Markdown

The page loads Inter and JetBrains Mono from fonts.googleapis.com and fonts.gstatic.com. Every visit to the page therefore sends the visitor's IP address to Google, which is the very address that the page exists to show the visitor, and a privacy-minded visitor can't use the page without that request.

This change removes the Google Fonts stylesheet and both preconnect links, and sets the page's fonts to the system font stacks: system-ui for text and ui-monospace for addresses and code, each followed by the existing fallbacks. The page now loads nothing from Google, and the layout is unchanged apart from the typeface.

I checked that no reference to Google remains in the templates, and that gofmt, go vet and go test ./... pass.

The page loaded Inter and JetBrains Mono from fonts.googleapis.com, so
every visit told Google the visitor's IP address, which is the very
address that the page shows. The page now uses the system font stacks
(system-ui and ui-monospace), and loads nothing from Google.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant