Skip to content

Conversation

strugee
Copy link
Member

@strugee strugee commented Aug 5, 2025

I tested this with and without the scheduling YAML data removed in commit 670dffd.

I tested this with and without the scheduling YAML data removed in
commit 670dffd.
@strugee strugee requested a review from AndrewKvalheim August 5, 2025 03:43
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We’re plucking out schedule.streams but still calling that “schedule”. I think for consistency it should either be named “streams” or include the whole schedule.

See https://github.com/SeaGL/birdhouse
{% endcomment %}

{% if site.data.schedule.streams %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there really no way to use default here? Liquid perpetually baffles me.

Comment on lines +5 to +6
This data gets removed in the off-season, so in this case we simply render
empty array (for no streams).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of serving empty data year round can Birdhouse just handle the case of missing data?

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

Successfully merging this pull request may close these issues.

2 participants