getzola / hyde

Port of https://github.com/poole/hyde to Zola
MIT License
76 stars 51 forks source link

Embed Google fonts for better privacy #21

Open sylvain101010 opened 4 years ago

sylvain101010 commented 4 years ago

Hi,

I'm using this theme for one of my blog and plan to replace Google fonts https://github.com/getzola/hyde/blob/master/templates/index.html#L16

by embedding the fonts directly into the theme repository.

The goal is to provide better privacy and better reliability by not relying on an external service.

Are you interested by such a PR?

Keats commented 4 years ago

That would depend on the licence for these fonts.

sylvain101010 commented 4 years ago

Abril fatface and PT Sans are both Open Font License

Keats commented 4 years ago

2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.

means that the site would need to add a page for the font licence to the site but the template itself cannot do that :/ Would a mention in the README be enough?

sylvain101010 commented 4 years ago

I think it only means we need to include a .txt containing a copy of the license beside the font files.

Adding a mention in the README would only be a bonus point.

(I'm not a lawyer)