Greetings, Jekyll forum! I just redesigned my company’s new website and built everything with Jekyll. I absolutely love it!
Anyway, we are an event-driven organization, so we have event and class pages that must be taken down after the dates have passed. So far we have unpublished pages manually, but because we have so many events (especially during summer) the other employees that edit our website have requested a way to make these events come down automatically.
I haven’t been able to find any simple methods to accomplish this, and it doesn’t look like this can be done without a plugin of some sort.
One (or both) of the following would accomplish the aforementioned task:
- Have published: true in the YAML header change to published: false on a specified, future date
- Have all categories in the YAML header disappear on a specified, future date (this way the pages can be viewed, but will not appear in pages that pull and display specific categories)
Does anyone know of a solution, or should I consider writing a plugin for this? Thanks for all of your help!