In your _config.yml
file, add a new array with the key gems and the values of the gem names of the plugins you’d like to use. In this case:
gems: [jekyll-languages]
Add this line to your application's Gemfile
:
gem 'jekyll-languages'
To use it, add the following to _plugins/ext.rb:
require "jekyll/languages"
<p><strong>Categories:</strong> {{ page.categories | sentencize_array }}</p>
This plugin allows for some configuration options, use them in your _config.yml
to make it actually do something useful:
jekyll_languages:
array_connector: "och"
- Fork it ( http://github.com/janlindblom/jekyll-languages/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request