This commit is contained in:
1 parent
2706297406
commit
670acc7667
8 files changed
+169
-11
No files matched your search
@@ -3,5 +3,5 @@ module.exports = function (eleventyConfig) {
|
||||
collectionApi.getFilteredByTag("posts")
|
||||
.filter(p => process.env.DEBUG || !p.data.tags.includes("draft"))
|
||||
.filter(p => process.env.DEBUG || p.date < new Date())
|
||||
)
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user