Enable html minification (#1208)

* Next version

* Remove lines forcing minify_html to false

* Update documentation about minify_html

* Update changelog

Co-authored-by: Vincent Prouillet <balthek@gmail.com>
This commit is contained in:
areille 2020-10-15 18:11:55 +00:00 committed by Vincent Prouillet
parent 6ef81940b8
commit 6a31ccff99
3 changed files with 4 additions and 3 deletions

View file

@ -2,6 +2,7 @@
## 0.13.0 (unreleased)
- Enable HTML minification
- Support `output_dir in `config.toml`
## 0.12.2 (2020-09-28)

View file

@ -155,9 +155,6 @@ impl Config {
}
}
// TODO: re-enable once it's a bit more tested
config.minify_html = false;
Ok(config)
}

View file

@ -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.