Centralize events repo and switch to new format #444
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a submodule to https://github.com/CHTC/Events with the plan to centralize all events from CHTC-ran websites to a single repo (like the current setup with articles).
The new articles have a slightly different format that should hopefully be non-Jekyll specific and overall be nicer to work with (see the CHTC/Events readme).
Sorry this PR is a bit messy. Here is a basic rundown:
_eventscollection is renamed to_events_legacy, and the new_eventscollection replaces it, which is a git submodule.YYYY/MM/DD/event-title. The "legacy" articles will retain their current permalink.event-cardandevent-headerare changed to accommodate the new format.event-pageandlayouts/eventcannot be changed because they are directly referenced by legacy events. Therefore, they keep the same legacy formatting.event-page will not be used by the modern events, and
layouts/event_modernis created. Instead of relying on the markdown frontmatter to specify layout, for modern events, we will just use the default in _config.ymlget/future_events.liquidandget/past_events.liquidare updated to filter according to the site key.events.html(the directory of all events) is updated to use the new format.Notes:
future: trueis added to theconfig.ymlto allow for future events. This may mess with articles and have unintended consequences?