Skip to content

Commit

Permalink
Enable html minification (#1208)
Browse files Browse the repository at this point in the history
* Next version

* Remove lines forcing minify_html to false

* Update documentation about minify_html

* Update changelog

Co-authored-by: Vincent Prouillet <balthek@gmail.com>
  • Loading branch information
areille and Keats committed Dec 14, 2020
1 parent 6ef8194 commit 6a31ccf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,7 @@

## 0.13.0 (unreleased)

- Enable HTML minification
- Support `output_dir in `config.toml`

## 0.12.2 (2020-09-28)
Expand Down
3 changes: 0 additions & 3 deletions components/config/src/config/mod.rs
Expand Up @@ -155,9 +155,6 @@ impl Config {
}
}

// TODO: re-enable once it's a bit more tested
config.minify_html = false;

Ok(config)
}

Expand Down
3 changes: 3 additions & 0 deletions docs/content/documentation/getting-started/configuration.md
Expand Up @@ -86,6 +86,9 @@ languages = []
# Sass files in theme directories are always compiled.
compile_sass = false

# When set to "true", the generated HTML files are minified.
minify_html = false

# A list of glob patterns specifying asset files to ignore when the content
# directory is processed. Defaults to none, which means that all asset files are
# copied over to the `public` directory.
Expand Down

0 comments on commit 6a31ccf

Please sign in to comment.