Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to completely turn off Google Fonts #76

Open
vadcx opened this issue May 23, 2024 · 0 comments
Open

Option to completely turn off Google Fonts #76

vadcx opened this issue May 23, 2024 · 0 comments

Comments

@vadcx
Copy link

vadcx commented May 23, 2024

In the current German law practice the unauthorized (=unbeknownst to user) use of Google Fonts is considered a violation of GDPR.

  1. https://inplp.com/latest-news/article/the-year-of-google-fonts-warning-letters/
  2. https://www.transatlanticlaw.com/content/germany-update-google-fonts-and-no-end-sight/

I see that the theme always uses Google Fonts and the only option being to choose a different font from there.

{{ if .Site.Params.google_fonts }}
{{ $url_part := (delimit .Site.Params.google_fonts "|") | safeHTMLAttr }}
<link {{ printf "href=\"//fonts.googleapis.com/css?family=%s\"" $url_part | safeHTMLAttr }} rel="stylesheet">
{{ else}}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab|Ruda" />
{{ end }}

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

No branches or pull requests

1 participant