mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
6746826689
commit
5a0ee2b934
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ func (m Client) Minify(mediatype media.Type, dst io.Writer, src io.Reader) error
|
|||
func New(mediaTypes media.Types, outputFormats output.Formats) Client {
|
||||
m := minify.New()
|
||||
htmlMin := &html.Minifier{
|
||||
KeepDocumentTags: true,
|
||||
KeepDocumentTags: true,
|
||||
KeepConditionalComments: true,
|
||||
}
|
||||
|
||||
// We use the Type definition of the media types defined in the site if found.
|
||||
|
|
Loading…
Reference in a new issue