Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Bug: future or draft posts are visible #138

Open
sylvainmetayer opened this issue Jul 15, 2020 · 0 comments
Open

Bug: future or draft posts are visible #138

sylvainmetayer opened this issue Jul 15, 2020 · 0 comments

Comments

@sylvainmetayer
Copy link

sylvainmetayer commented Jul 15, 2020

Hello,

First, thanks for your project, which is easy to start working with !

I've noticed that their is a sample of a future post, which is not visible in the collection, because we check the date when declaring the collection. However, we do not disable the generation of theses pages and the page is still generated. See this article for example.

I've fixed this in my portfolio, and submitted PR #139, which will upgrade @11ty/eleventy to the 0.11.0 version because we need the computedData to determine if a post need to have a permalink or not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant