News for hackers. Stuff that matters.
Re:Pelican static site generator 4.5 by TacoSteemers on Friday October 02, 2020 @09:00AM (#24662120)
You could get your own hosting, and not use Cloudflare. You could then host the font on your own site.

My site doesn't load any files from a different domain since I removed the Twitter share button javascript[0], except for one page.

I moved the mailchimp signup to a separate page to isolate their JS code to just that page.

[0] https://tacosteemers.com/articles/2020-08-30-twitter-share-b...

Re:Pelican static site generator 4.5 by TacoSteemers on Friday October 02, 2020 @09:07AM (#24662180)
To add to my answer:

If we depend on other people's hosting and themes then we just kind of have to accept what they offer.

But getting our own hosting doesn't have to be difficult. There are many cheap providers that give sftp access, for example. Pelican comes with a script for uploading to sftp.

Re:Pelican static site generator 4.5 by oneeyedpigeon on Friday October 02, 2020 @09:58AM (#24662648)
> You could then host the font on your own site.

Only if you have a licence for it — font licences are typically prohibitively expensive for individuals' use.

Re:Pelican static site generator 4.5 by detaro on Friday October 02, 2020 @09:59AM (#24662665)
All Google Fonts are open-source.
Re:Pelican static site generator 4.5 by oneeyedpigeon on Friday October 02, 2020 @10:04AM (#24662714)
That's ... interesting. I must admit, I think somewhere in the back of my mind I knew that, but I'm so used to font services requiring to be used remotely, I hadn't even really considered that. So there's absolutely no breach of any kind of law or terms if you host them locally? That could be a game-changer, thanks!
Re:Pelican static site generator 4.5 by onion2k on Friday October 02, 2020 @10:15AM (#24662820)
So there's absolutely no breach of any kind of law or terms if you host them locally?

Open source doesn't necessarily mean free to use for whatever you want. Which licence a font on Google Fonts uses varies - common ones are Apache and Open Font Licence, but you should check the licence file in any font pack you download.

Re:Pelican static site generator 4.5 by ficklepickle on Friday October 02, 2020 @11:38AM (#24663720)
You can 'npm install' any of the google fonts, there are a variety of options like webpack plugins. The only thing you miss out on is apparently they serve slightly different variants to different OS/device types if you use google directly.

Personally, I avoid third-party requests. CDNs are so HTTP1.1.

Re:Pelican static site generator 4.5 by detaro on Friday October 02, 2020 @03:31PM (#24666232)
The licenses used are quite liberal, so pretty much. (I'm not a lawyer)