improve documentation for theme-gem installation (#6387)
Merge pull request 6387
This commit is contained in:
parent
cfec06cdba
commit
eadad9eb7e
|
@ -125,9 +125,19 @@ To install a gem-based theme:
|
||||||
|
|
||||||
1. Add the theme to your site's `Gemfile`:
|
1. Add the theme to your site's `Gemfile`:
|
||||||
|
|
||||||
```sh
|
```ruby
|
||||||
|
# ./Gemfile
|
||||||
|
|
||||||
gem "jekyll-theme-awesome"
|
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:
|
2. Install the theme:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue