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.
You can include a line in your YAML Front Matter to indicate whether a post is published or not:
or
Set
publishedtofalseif you don’t want a post to show up when the site is generated.