Skip to content

Commit

Permalink
Clarify usage instructions. Fixes octopress#15.
Browse files Browse the repository at this point in the history
  • Loading branch information
mssever committed Jun 3, 2016
1 parent c6d45d6 commit c60a38d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,31 @@ For example, this will disable minification, regardless of your `env` setting.
minify_html: false
```

### Example Configuration

1. In `_config.yml`, insert:

```yaml
minify_html: false
```

2. In a new config file, `_config_production.yml`, insert:

```yaml
minify_html: true
```
3. In development, build Jekyll normally:

```shell
jekyll build # or jekyll serve
```
For a production build, run:

```shell
jekyll build --config _config.yml,_config_production.yml
```


## HtmlPress Configuration:

You can set configuration options for [HtmlPress](https://github.com/stereobooster/html_press) in your Jekyll configuration like this:
Expand Down

1 comment on commit c60a38d

@digitalfrost
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is much clearer.
Please merge.

Please sign in to comment.