How to make my post not public for a while?
github-pages, jekyll, yaml-front-matter
Solution
You can include a line in your YAML Front Matter to indicate whether a post is published or not:
published: true
or
published: false
Set `published` to `false` if you don’t want a post to show up when the site is generated.
Problem
I'm using `jekyll` and `github pages`. I'm currently busy with new post and it's not finished yet. I'm working from different places, that's why I need to `push` my changes to `github`. I created new post and push it on `github`. But after `push` my half-finished post is visible for everyone. I don't want to make it visible untill I finish it. How I can hide it? Is there any standard way or flag? I understand that I can copy it to another folder but it's not preffered way.