aboutsummaryrefslogtreecommitdiffstats
path: root/eleventy.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'eleventy.config.js')
-rw-r--r--eleventy.config.js13
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");