Improve installation instructions. Closes #14.

This commit is contained in:
Joseph Wynn 2016-02-25 09:03:51 +00:00
parent f6b42d264f
commit 4000e0532f
1 changed files with 5 additions and 4 deletions

View File

@ -8,18 +8,19 @@ Jekyll Responsive Images is a [Jekyll](http://jekyllrb.com/) plugin and utility
## Installation
You can either use the gem and update your `_config.yml`:
First, install the gem:
```
$ gem install jekyll-responsive_image
```
Then you can either add it to the `gems` section of your `_config.yml`:
```yaml
# _config.yml
gems: [jekyll-responsive_image]
gems: [jekyll/responsive-image]
```
Or you can simply copy [`responsive_image.rb`](lib/jekyll/responsive_image.rb) into your `_plugins` directory.
Or you can copy the contents of [`responsive_image.rb`](lib/jekyll/responsive_image.rb) into your `_plugins` directory.
## Configuration