From ffb2f21d160ebc21723320f8ca92afa93d698e69 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Fri, 19 Feb 2021 12:40:04 -0800 Subject: [PATCH] Update index.md --- content/en/news/0.81.0-relnotes/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/en/news/0.81.0-relnotes/index.md b/content/en/news/0.81.0-relnotes/index.md index 1b3b565a5..70ecab17d 100644 --- a/content/en/news/0.81.0-relnotes/index.md +++ b/content/en/news/0.81.0-relnotes/index.md @@ -126,6 +126,16 @@ There are several [Hugo Modules](https://gohugo.io/hugo-modules/)-related improv * Add config option modules.vendorClosest [bdfbcf6f](https://github.com/gohugoio/hugo/commit/bdfbcf6f4b4ab53a617ab76f72e8aa28da6067de) [@bep](https://github.com/bep) [#8235](https://github.com/gohugoio/hugo/issues/8235)[#8242](https://github.com/gohugoio/hugo/issues/8242) * Throw an error running hugo mod vendor on mountless module [4ffaeaf1](https://github.com/gohugoio/hugo/commit/4ffaeaf15536596c94dc73b393ca7894e3bd5e2c) [@bep](https://github.com/bep) +## Minify - Keep Comments + +Keep comments when running `hugo --minify` with a new setting in config.toml. + +```toml +[minify.tdewolff.html] +keepComments = true +``` + +The default value for this setting is `false`. ## Statistics