mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
1 file changed
+2
-1
@@ -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 {
|
func New(mediaTypes media.Types, outputFormats output.Formats) Client {
|
||||||
m := minify.New()
|
m := minify.New()
|
||||||
htmlMin := &html.Minifier{
|
htmlMin := &html.Minifier{
|
||||||
KeepDocumentTags: true,
|
KeepDocumentTags: true,
|
||||||
|
KeepConditionalComments: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
// We use the Type definition of the media types defined in the site if found.
|
// We use the Type definition of the media types defined in the site if found.
|
||||||
|
|||||||
Reference in new issue
Block a user