Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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