From 2dc8caa5d21d8adc959d61b86452fea06db94fca Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 8 May 2021 17:56:41 -0500 Subject: [PATCH] Restrict template formats to js only --- .eleventy.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.eleventy.js b/.eleventy.js index 22ec279..bcdf12e 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -107,6 +107,10 @@ module.exports = function ( eleventyConfig ) { return { + // https://www.11ty.dev/docs/config/#template-formats + // Default: html,liquid,ejs,md,hbs,mustache,haml,pug,njk,11ty.js + templateFormats: [ '11ty.js' ], + dir: { input: 'pages-eleventy', output: 'dist',