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:
parent
6ef81940b8
commit
6a31ccff99
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## 0.13.0 (unreleased)
|
## 0.13.0 (unreleased)
|
||||||
|
|
||||||
|
- Enable HTML minification
|
||||||
- Support `output_dir in `config.toml`
|
- Support `output_dir in `config.toml`
|
||||||
|
|
||||||
## 0.12.2 (2020-09-28)
|
## 0.12.2 (2020-09-28)
|
||||||
|
|
|
@ -155,9 +155,6 @@ impl Config {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: re-enable once it's a bit more tested
|
|
||||||
config.minify_html = false;
|
|
||||||
|
|
||||||
Ok(config)
|
Ok(config)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,9 @@ languages = []
|
||||||
# Sass files in theme directories are always compiled.
|
# Sass files in theme directories are always compiled.
|
||||||
compile_sass = false
|
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
|
# 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
|
# directory is processed. Defaults to none, which means that all asset files are
|
||||||
# copied over to the `public` directory.
|
# copied over to the `public` directory.
|
||||||
|
|
Loading…
Reference in a new issue