Improve installation instructions. Closes #14.

This commit is contained in:
Joseph Wynn 2016-02-25 09:03:51 +00:00
parent 4c238e6314
commit 23e5a79d81
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 ## Installation
You can either use the gem and update your `_config.yml`: First, install the gem:
``` ```
$ gem install jekyll-responsive_image $ gem install jekyll-responsive_image
``` ```
Then you can either add it to the `gems` section of your `_config.yml`:
```yaml ```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 ## Configuration