Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically assign to upcoming or past events #3

Open
3 tasks
harisood opened this issue Jan 30, 2024 · 1 comment
Open
3 tasks

Automatically assign to upcoming or past events #3

harisood opened this issue Jan 30, 2024 · 1 comment

Comments

@harisood
Copy link
Member

harisood commented Jan 30, 2024

One to come back to (just recording the thought here).

Current event setup is to filter future/past events by tags ('upcoming_event' vs 'past_event'). This will require manual updating when events pass.

Would be good to have this done automatically (i.e. event moves from upcoming to past when the date passes). This would require:

  • Figuring out how Hugo can filter a range by date earlier than/later than today
  • Rebuild the site (mb daily?) so any passing dates can be allocated to the right category
  • Once complete, remove references to 'upcoming_event' and 'past_event' tags

Not part of an MVP but a definite improvement!

@harisood
Copy link
Member Author

The event setup also at the moment only caters for events that start and end on the same day, mainly for ease of reading purposes. Will want to revisit this too

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

No branches or pull requests

1 participant