kenman345 / jekyll-remote-theme

Jekyll plugin for building Jekyll sites with any GitHub-hosted theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jekyll Remote Theme

Jekyll plugin for building Jekyll sites with any GitHub-hosted theme

Gem Version Build Status PRs Welcome

Usage

  1. Add the following to your Gemfile
gem "jekyll-remote-theme"

and run bundle install to install the plugin

  1. Add the following to your site's _config.yml to activate the plugin
plugins:
  - jekyll-remote-theme
  1. Add the following to your site's _config.yml to choose your theme
remote_theme: benbalter/retlab

Declaring your theme

Remote themes are specified by the remote_theme key in the site's config.

Remote themes must be in the form of OWNER/REPOSITORY, and must represent a GitHub-hosted Jekyll theme. See the Jekyll documentation for more information on authoring a theme. Note that you do not need to upload the gem to RubyGems or include a .gemspec file.

You may also optionally specify a branch, tag, or commit to use by appending an @ and the Git ref (e.g., benbalter/retlab@v1.0.0 or benbalter/retlab@develop). If you don't specify a Git ref, the master branch will be used.

Debugging

Adding --verbose to the build or serve command may provide additional information.

About

Jekyll plugin for building Jekyll sites with any GitHub-hosted theme

License:MIT License


Languages

Language:Ruby 99.3%Language:Shell 0.7%