Skip to content

SwedbankPay/jekyll-material-icon-tag

Repository files navigation

Jekyll::MaterialIconTag

Gem Version Build status License Dependabot Status CLA assistant Contributor Covenant

jekyll-material-icon-tag allows you to use Material Design Icons in Jekyll by adding a custom tag that you can use in your Liquid templates as follows:

{% icon name_of_icon_you_want %}

You can also add style if you want a different material icon style:

{% icon name_of_icon_you_want two-tone %}
{% icon another_icon_perhaps round %}
{% icon the_outlined_one outlined %}

Installation

Add this line to your application's Gemfile:

gem 'jekyll-material-icon-tag'

And then execute:

bundle install

Or install it yourself as:

gem install jekyll-material-icon-tag

And then add the following to your Jekyll site's _config.yml file:

plugins:
  - "jekyll-material-icon-tag"

Contributing

Bug reports and pull requests are welcome on GitHub. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct and sign the contributor's license agreement.

License

The code within this repository is available as open source under the terms of the Apache 2.0 License and the contributor's license agreement.