From fd5dc16548f97e7d6912ee2f60c0566658193894 Mon Sep 17 00:00:00 2001 From: asbjornb Date: Wed, 13 Oct 2021 23:00:04 +0200 Subject: [PATCH 1/2] Fix outdated useGitIgnore false Newer versions of 11ty sets this differently. See documentation at: https://www.11ty.dev/docs/ignores/ --- .eleventy.js | 4 ++-- .eleventyignore | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 0d265bc..2bb1b97 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -33,9 +33,9 @@ module.exports = function(eleventyConfig) { }); eleventyConfig.addPassthroughCopy('assets'); + eleventyConfig.setUseGitIgnore(false); return { - useGitIgnore: false, dir: { input: "./", output: "_site", @@ -45,4 +45,4 @@ module.exports = function(eleventyConfig) { }, passthroughFileCopy: true } -} \ No newline at end of file +} diff --git a/.eleventyignore b/.eleventyignore index 3a526b0..a4c46da 100644 --- a/.eleventyignore +++ b/.eleventyignore @@ -1,4 +1,6 @@ readme.md CONTRIBUTING.md .github/ -_drafts/ \ No newline at end of file +_drafts/ +_site/ +node_modules/ From 9a740f75d20c02d0de80199a439cd0726feb3076 Mon Sep 17 00:00:00 2001 From: asbjornb Date: Thu, 14 Oct 2021 08:32:31 +0200 Subject: [PATCH 2/2] Remove _site, node_modules from .eleventyignore Outputfolder and node_modules defaults to ignore --- .eleventyignore | 2 -- 1 file changed, 2 deletions(-) diff --git a/.eleventyignore b/.eleventyignore index a4c46da..150a472 100644 --- a/.eleventyignore +++ b/.eleventyignore @@ -2,5 +2,3 @@ readme.md CONTRIBUTING.md .github/ _drafts/ -_site/ -node_modules/