diff options
make it ready to deploy
Diffstat (limited to 'eleventy.config.js')
-rw-r--r-- | eleventy.config.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/eleventy.config.js b/eleventy.config.js index b2e2a5b..9adfcf0 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -8,19 +8,6 @@ module.exports = eleventyConfig => { typographer: true }).use(require('markdown-it-attrs'))) - eleventyConfig.addTransform('htmlmin', (content, outputPath) => { - if (outputPath && outputPath.endsWith('.html')) { - const minified = require("html-minifier").minify(content, { - useShortDoctype: true, - removeComments: true, - collapseWhitespace: true - }) - return minified - } - - return content - }) - const { DateTime } = require('luxon') eleventyConfig.addFilter('datefmt', date => { return DateTime.fromJSDate(date, { zone: 'utc' }).toFormat("dd LLL yyyy"); |