Previewing Jekyll Future Posts
Post Dated Material
When you’re building out posts, sometimes they are meant to be released at a later date that you don’t want to share immediately. If this isn’t obvious, think about marketing teams that want to publish information on a launch schedule. If you create posts that are post dated, it’s easy to preview those locally by adding the --future
flag to the jekyll serve
command:
$ jekyll serve --future
This is a flag that I use very frequently. You can combine this flag with environment settings and other flags to test our site functionality.