RobLoach / docpad-plugin-htmlmin

Adds support to minify HTML in DocPad
http://github.com/kangax/html-minifier
Other
1 stars 1 forks source link

Move from templateData.htmlmin to plugins.htmlmin #4

Closed RobLoach closed 11 years ago

RobLoach commented 11 years ago
  templateData:
    htmlmin:
      removeComments: true
      removeCommentsFromCDATA: false
      removeCDATASectionsFromCDATA: false
      collapseWhitespace: true
      collapseBooleanAttributes: false
      removeAttributeQuotes: false
      removeRedundantAttributes: false
      useShortDoctype: false
      removeEmptyAttributes: false
      removeOptionalTags: false
      removeEmptyElements: false

The above should likely move to plugins.htmlmin to match other plugin configuration options: https://github.com/docpad/docpad-plugin-stylus/#defaults