Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make my post not public for a while?

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.

like image 967
Viacheslav Kondratiuk Avatar asked Jan 20 '13 18:01

Viacheslav Kondratiuk


People also ask

How do I make my post except public?

Click the Privacy drop-down list next to your name and profile image. It will display the most recent option you've used, such as Public or Friends. In the Select Privacy list, choose Friends Except. Select the name of the friend or friends you want to exclude from seeing your post.

How do I change my post Privacy at once?

Click “Settings” on the drop-down menu. On the Settings page, click “Privacy” in the list of options on the left. The “Privacy Settings and Tools” screen displays. In the “Who can see my stuff?” section, click in the “Limit the audience for posts you've shared with friends of friends or Public” section.


1 Answers

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.

like image 131
James Chevalier Avatar answered Sep 19 '22 15:09

James Chevalier