Jekyll allows you to add Gem-based plugins using your
Gemfile. This allows you to add things like CoffeeScript preprocessing.
Forestry supports all third-party Jekyll plugins, and installs them in the same manner they are installed in your local environment.
Installation generally has three steps:
Add the plugin to your
Gemfile. If you do not have a
Gemfile, you must create one in your project root.
source 'https://rubygems.org' gem 'jekyll' group :jekyll_plugins do gem 'jekyll-menus' end
You must also add the plugin to the
gemsarray in your Jekyll
plugins: - jekyll-menus
Install the plugin and run Jekyll by running the following commands:
$ bundle install $ bundle exec jekyll serve
Note: depending on the plugin, additional configuration may be required. Please read each plugin’s documentation carefully.
Caught a mistake or want to contribute to the docs? Edit this page on Github!