alfredxing / brick

Open-source webfont service
http://brick.im
2.87k stars 95 forks source link

Use local fonts for development #147

Closed alfredxing closed 7 years ago

alfredxing commented 7 years ago

Loads fonts locally on specimen pages (instead of from production CDN) when JEKYLL_ENV is "development".

To do this, we generate the CSS @font-face rules using Liquid, setting the src to use a relative path.

Also, update gems in Gemfile.