Update plugins.md

Note to option 2 and 3 for installing plugins
This commit is contained in:
Anton 2015-10-08 10:23:29 +03:00
parent 464d4b0254
commit 3435d05c2a
1 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,7 @@ You have 3 options for installing plugins:
here. Any file ending in `*.rb` inside this directory will be loaded before
Jekyll generates your site.
2. 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. Don't foreget to install your plugins using `gem install my-jekyll-plugin` prior running jekyll. An example:
values of the gem names of the plugins you'd like to use. An example:
gems: [jekyll-test-plugin, jekyll-jsonify, jekyll-assets]
# This will require each of these gems automatically.
@ -40,6 +40,8 @@ values of the gem names of the plugins you'd like to use. Don't foreget to insta
gem "my-jekyll-plugin"
end
Both option 2 and 3 require you to install your plugins using `gem install my-jekyll-plugin` prior running jekyll.
<div class="note info">
<h5>
<code>_plugins</code>, <code>_config.yml</code> and <code>Gemfile</code>