Fonts Rails
Adds a helper to create the google fonts link in rails.
Why
I did this gem to:
- Have a simple but versatile way to include google fonts.
Install
Put this line in your Gemfile:
gem 'fonts-rails'
Then bundle:
$ bundle
Usage
In your layout add a line like this in your head:
<%= google_fonts_link_tag 'Open+Sans:300' %>
Credits
This gem is maintained and funded by mmontossi.
License
It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.