Closed hauten closed 2 years ago
Also @hauten - if we render the site nightly (which we do) we can actually automate this entire process so you don't need to manually do it. It would require, however, each event having it's own data about the date/time when it's invalid, and then the template would essentially ask "is today later than the expiration date?"
I do similar for a few sites I made, e.g., the USRSE calendar/events https://github.com/USRSE/usrse.github.io/blob/39d90f63c8e21ccb4708a6fa75cf3cd81e1a09e9/_layouts/events.html#L48-L51
crossed out a couple more days/times