Skip to content

Automate detection of no content in upcoming events listing #7

@pricet1

Description

@pricet1

For event listings, when there are no events in content/events/upcoming, it requires a manual step to set the metadata 'events.upcoming'.

Extract from yaml front matter in content/events/index.qmd:

---
events:
  # Set meta events.upcoming to true/false according to whether there are any events to display
  upcoming: false
---

It would be preferable to find a way to automate this from the data and avoid the manual step which it is easy to forget.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions