diff --git a/eleventy.config.drafts.js b/eleventy.config.drafts.js index 3bc6912..9bd7f8b 100644 --- a/eleventy.config.drafts.js +++ b/eleventy.config.drafts.js @@ -3,7 +3,6 @@ function eleventyComputedPermalink() { // `addGlobalData` acts like a global data file and runs the top level function it receives. return (data) => { if(data.draft) { - // BUILD_DRAFTS is set in eleventy.config.js if(process.env.BUILD_DRAFTS) { return data.permalink; } @@ -21,7 +20,6 @@ function eleventyComputedExcludeFromCollections() { // `addGlobalData` acts like a global data file and runs the top level function it receives. return (data) => { if(data.draft) { - // BUILD_DRAFTS is set in eleventy.config.js if(process.env.BUILD_DRAFTS) { return data.eleventyExcludeFromCollections; }