Do not publish content that has a date in future #3976
ironfish1000
started this conversation in
Enhancement Queue
Replies: 5 comments
-
|
In the mean time I would recommend https://www.11ty.dev/docs/config-preprocessors/ as the path forward here! |
Beta Was this translation helpful? Give feedback.
0 replies
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
|
Related to #3968 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I think the title says it all :)
I searched for "date" and "future" in all Issues and did not see a feature request for this, so I would like to submit one.
The only solution I have found so far is:
Hiding Future Posts in Eleventy
https://johnwargo.com/posts/2024/hiding-future-posts-eleventy/
But I would like to ask for this to be a standard feature of 11ty.
Describe the solution you'd like
If a date set in front matter of a content file is later than current date, do not publish it
Describe alternatives you've considered
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions