Unnecessary comment [skip ci]

This commit is contained in:
Zach Leatherman 2023-01-24 15:14:57 -06:00
parent 3095c1bffe
commit d3e0150595

View File

@ -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;
}