Skip to content

Validate front matter in CI #1577

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

Merged
merged 3 commits into from
Apr 15, 2025
Merged

Validate front matter in CI #1577

merged 3 commits into from
Apr 15, 2025

Conversation

senekor
Copy link
Contributor

@senekor senekor commented Apr 15, 2025

The changes in the test itself make it more lenient, it won't error out on stuff like whitespace, comments or order of keys. Otherwise it would just be annoying for blog authors.

senekor added 3 commits April 15, 2025 22:13
During the migration to Zola, it was nice to have the enforcement that
all front matter is formatted identically. But going into the future,
the purpose of this test will be to help blog authors spot mistakes in
their front matter. It would be annoying noise a fail because the keys
are in a different order, whitespace, comments etc.
@senekor senekor merged commit 4933fc1 into master Apr 15, 2025
4 checks passed
@senekor senekor deleted the senekor/rwokoxymrwmq branch April 15, 2025 21:47
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