CloudCannon Documentation logo Documentation

Available for Jekyll sites.

Use community-contributed packages and run custom code to extend your sites. All sites on CloudCannon support Jekyll plugins.

Add plugins to a site in a couple of ways:

  • Add .rb files to the _plugins folder
  • Add plugins to your Gemfile in the root folder

Here’s an example Gemfile:

source 'https://rubygems.org'

gem 'jekyll', '3.1.6'

group :jekyll_plugins do
  gem 'jekyll-sitemap', '0.10.0'
end

It’s good practice to set your versions. Otherwise, Jekyll uses the latest version which could introduce breaking changes in future builds.