mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 15:58:53 +00:00
content: Update minify config documentation
This commit is contained in:
@@ -10,6 +10,11 @@ This is the default configuration:
|
||||
|
||||
{{< code-toggle config=minify />}}
|
||||
|
||||
See the [tdewolff/minify] project page for details.
|
||||
See the [tdewolff/minify] project page for details, but note the following:
|
||||
|
||||
- `css.inline` is for internal use. Changing this setting has no effect.
|
||||
- `css.keepCSS2` has been deprecated. Use `css.version` instead.
|
||||
- `html.keepConditionalComments` has been deprecated. Use `html.keepSpecialComments` instead.
|
||||
- `svg.inline` is for internal use. Changing this setting has no effect.
|
||||
|
||||
[tdewolff/minify]: https://github.com/tdewolff/minify
|
||||
|
||||
+2
-1
@@ -1490,8 +1490,9 @@ config:
|
||||
tdewolff:
|
||||
css:
|
||||
inline: false
|
||||
keepCSS2: true
|
||||
keepCSS2: false
|
||||
precision: 0
|
||||
version: 0
|
||||
html:
|
||||
keepComments: false
|
||||
keepConditionalComments: false
|
||||
|
||||
Reference in New Issue
Block a user