Use a real theme in the example (#7125)

Merge pull request 7125
This commit is contained in:
jekyllbot 2018-07-11 13:32:39 -04:00 committed by GitHub
parent dcbc443387
commit 5d1f85928a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -166,20 +166,21 @@ For example, search for [jekyll theme on RubyGems](https://rubygems.org/search?u
To install a gem-based theme: To install a gem-based theme:
1. Add the theme to your site's `Gemfile`: 1. Add the theme gem to your site's `Gemfile`:
```ruby ```ruby
# ./Gemfile # ./Gemfile
gem "jekyll-theme-awesome" # This is an example, declare the theme gem you want to use here
gem "jekyll-theme-minimal"
``` ```
Or if you've started with the `jekyll new` command, replace `gem "minima", "~> 2.0"` with your theme-gem: Or if you've started with the `jekyll new` command, replace `gem "minima", "~> 2.0"` with the gem you want, e.g:
```diff ```diff
# ./Gemfile # ./Gemfile
- gem "minima", "~> 2.0" - gem "minima", "~> 2.0"
+ gem "jekyll-theme-awesome" + gem "jekyll-theme-minimal"
``` ```
2. Install the theme: 2. Install the theme:
@ -191,7 +192,7 @@ To install a gem-based theme:
3. Add the following to your site's `_config.yml` to activate the theme: 3. Add the following to your site's `_config.yml` to activate the theme:
```yaml ```yaml
theme: jekyll-theme-awesome theme: jekyll-theme-minimal
``` ```
4. Build your site: 4. Build your site: