Today I Learned

A Hashrocket project

Frontmatter Date Affects Build

Middleman is an excellent choice for blogging. Combined with Frontmatter, we can do many things.

Today I learned that if you include a future date key in your Frontmatter, the file in question will be excluded from the build.

And so, today, this file would not be built with middleman build:

<!-- source/episodes/1/first_episode.html.markdown -->
---
date: 06-21-2016
---

This makes sense, but it was not intuitive to me and took some troubleshooting.