This Post Should Not Be Visible
If you can see this post on the live site before January 15, 2026, something is wrong with the date filtering logic!
This post exists to test that the build system correctly filters posts by publish_date.
How It Should Work
At build time, the system should:
- Get the current date (e.g.,
2025-12-07) - Parse each blog post's
publish_datefrom frontmatter - Only include posts where
publish_date <= current_date - This post has
publish_date: 2026-01-15 - Therefore, it should be excluded from the build
Verifying It Works
To verify the date filtering works:
- Build the site on 2025-12-07
- Check that this post does NOT appear in
/en/blog/ - Check that this post does NOT have a detail page at
/en/blog/future-post-test/ - Build again on 2026-01-16
- Check that this post DOES appear
If you're reading this before 2026-01-15, please report a bug!