daattali / beautiful-jekyll

✨ Build a beautiful and simple website in literally minutes. Demo at https://beautifuljekyll.com
https://beautifuljekyll.com
MIT License
5.4k stars 16.27k forks source link

staging area for post #251

Closed yonicd closed 7 years ago

yonicd commented 7 years ago

what is the best way to preview a post on the blog without it being public? (sorry if newbie question)

marste commented 7 years ago

Copy and paste your code here: http://prose.io/

yonicd commented 7 years ago

thank you, but that i can do w/in github by going to the file itself. I meant to see the post fully rendered in something like a preview area, and when it is ready make it public.

yonicd commented 7 years ago

i guess it would be something similar to blogdown::serve_site, but that seems hardcoded for only bolgdown projects

daattali commented 7 years ago

If you want to make something truly private for the preview, that can only be done if you install jekyll locally on a unix box. But this theme is focused on being used directly from github and being fully online so I personally don't do that. When I want to preview a page before publishing it, I create it in a temporary page instead of placing it inside the _posts folder. For example I ofyrn create a test.md file which is technically public but it doesn't get published in the feed sp nobody knows about it, and I check deanattali.com/test to see how it comes out. When I'm happy with it I simply rename the file to move it into the _posts folder. It may not be ideal but it's simple and works well for my purposes

On Sep 18, 2017 09:25, "yonicd" notifications@github.com wrote:

i guess it would be something similar to blogdown::serve_site, but that seems hardcoded for only bolgdown projects

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/daattali/beautiful-jekyll/issues/251#issuecomment-330219512, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6IFLISV_2W0RneRNQtdyVw6uG7nbj6ks5sjm9MgaJpZM4Paxy6 .

yonicd commented 7 years ago

got it. thanks!