Improve Upcoming vs. Past Events Filtering with JS
Closed this issue · 0 comments
khairahscorner commented
Is your feature request related to a problem? Please describe.
Currently, we have all our events in _data\events.yml
- each event has an 'expiration' field, which is basically the date the event should move from upcoming to past events when displayed on the website.
Although the current logic works fine, because we use Jekyll, a static site generator, the categorisation doesnt work unless the site is redeployed again.
Describe the solution you'd like
Use CSS and Javascript to hide or show the events for Upcoming vs. Past. See similar logic for Mentors list page here but use JS to handle the dates comparison
Additional context
See PR discussions: #289