Update README.md

This commit is contained in:
Ken Salomon 2018-07-10 09:37:05 -04:00 committed by GitHub
parent 3cf3bc7be3
commit 38e3b1f92f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -17,12 +17,13 @@ Either add `jekyll-responsive-image` to your Gemfile, or run the following comma
$ gem install jekyll-responsive-image
```
Then you can either add `jekyll-responsive-image` to the `gems` section of your `_config.yml`:
Then you can either add `jekyll-responsive-image` to the `plugins` section of your `_config.yml`:
```yaml
gems:
plugins:
- jekyll-responsive-image
```
Note: If you are using a Jekyll version less than 3.5.0, use the `gems` key instead of `plugins`.
Or you can copy the contents of [`responsive_image.rb`](lib/jekyll-responsive-image.rb) into your `_plugins` directory.