Open fnetX opened 3 years ago
I'm not sure how this would work as a config option, but you can always create your own copies of the relevant layouts and just put in your own URLs.
@gwatts, you mentioned this in #432, interested to hear your thoughts.
I'm not sure how this would work as a config option, but you can always create your own copies of the relevant layouts and just put in your own URLs.
One possibility would be providing a URL to the resource in an option, which possibly defaults to a CDN for backwards compatibility. Devs concerned with privacy/the GDPR can put the appropriate files in their /static
and link to those.
Oh great. I just migrated my site to this theme, only to find it to load an incredible amount of external resources, completely ignoring any privacy regulations.
I should have known when seeing that it is made by Google…
For everyone landing here, I just want to recommend having a look at https://squidfunk.github.io/mkdocs-material/ - we went with it after docsy wasn't what we were looking for. It's awesome, somewhat lightweight compared to the amount of features, and the community is nice. :wink:
As heads-up: this topic currently gets some traction in Germany. People are getting fined for pulling in fonts from Google servers because this gives their IP address (which seems to be PII) to Google, without user consent. -> https://www.golem.de/news/google-fonts-abmahnungen-an-webseitenbetreiber-mit-google-schriftarten-2208-167472.html
Hi @fnetX! IMHO, this is a very reasonable request, and quite doable (since Hugo v0.90+). Sorry to see you go. Thanks for the link to Material for MkDocs, the resulting sites look amazing! I'm hoping that we can get inspiration from them.
Downloading resources from CDNs (esp. those who are behind Cloudflare) is questionable from a users' privacy perspective. Technically, they even have to be mentioned in the privacy statement as of German law here.
What do you think about adding a config option for not relying on external providers. When you don't want to update all dependencies in your repository, I'd even be fine manually overriding the URLs and updating them manually.
It'd be nice to hear your opinion and if this project is suitable for people caring about privacy at all, or if we should rather avoid it.