From eadad9eb7ea0a764802a81175a02c1c0487e4d80 Mon Sep 17 00:00:00 2001 From: ashmaroli Date: Wed, 27 Sep 2017 14:48:13 +0530 Subject: [PATCH] improve documentation for theme-gem installation (#6387) Merge pull request 6387 --- docs/_docs/themes.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/_docs/themes.md b/docs/_docs/themes.md index c79ce54c..2682a9a3 100644 --- a/docs/_docs/themes.md +++ b/docs/_docs/themes.md @@ -125,9 +125,19 @@ To install a gem-based theme: 1. Add the theme to your site's `Gemfile`: - ```sh + ```ruby + # ./Gemfile + gem "jekyll-theme-awesome" ``` + Or if you've started with the `jekyll new` command, replace `gem "minima", "~> 2.0"` with your theme-gem: + + ```diff + # ./Gemfile + + - gem "minima", "~> 2.0" + + gem "jekyll-theme-awesome" + ``` 2. Install the theme: