Skip to content

Commit 76daa52

Browse files
committed
Drafts should not use explicit permalink: false (folks should customize this behavior in their application)
1 parent 74cf30e commit 76daa52

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Importer.js

-4
Original file line numberDiff line numberDiff line change
@@ -433,11 +433,7 @@ class Importer {
433433

434434
// Eleventy specific options
435435
if(entry.status === "draft") {
436-
// Don’t write to file system in Eleventy
437-
data.permalink = false;
438436
data.draft = true;
439-
440-
// TODO map metadata.categories and/or metadata.tags to Eleventy `tags`
441437
}
442438

443439
if(entry.tags) {

0 commit comments

Comments
 (0)