Gem Version Code Climate Build Status Dependency Status

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 call the helper like this:

<%= 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.