From d3e01505950338e383bc9481c9eb68ff403d6779 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Tue, 24 Jan 2023 15:14:57 -0600 Subject: [PATCH] Unnecessary comment [skip ci] --- eleventy.config.drafts.js | 2 -- 1 file changed, 2 deletions(-) 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; }