Skip to content

Enforce having the Organizer section broken out into the organizers.yml file #14979

Open
@mattstratton

Description

@mattstratton

Per discussion in the wg-website slack channel, we would like to require the "organizers" section of the data file to be in a dedicated file (organizers.yml) in the data directory for the event. This will allow us to require specific approvals for changes to organizers on an event, etc.

Currently, in https://github.com/devopsdays/devopsdays-web/blob/main/themes/devopsdays-theme/layouts/partials/functions/get-event-data.html#L15 we support this as an option.

What we could do is change

{{ if fileExists (printf "/data/events/%s/%s/organizers.yml" $year $city) }}

and add an "else" clause that would throw a hugo build error and cause the site to fail to build if the file isn't there.

NOTE: if/when we do this, we will need to have a one time migration utility to break out all the existing "organizer" sections in all the main.yml files into new organizer.yml files in the different event data directories

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions