Draft Post
is the theme have draft post??? Draft Post is post that may not finish it yet or still have something to check before publishing
Well it seems creating a _drafts folder is enough for it. https://jekyllrb.com/docs/drafts/
I don't understand what should I do.
I didn't realise that this was a thing. Could be pretty useful. How does it work?
@libeclipse just like @TaylanTatli said, create _drafts folder inside your project root...
I checked in Jekyll documentation... that can be found here
Oh it requires a command line argument. Github won't support it then.
What I do is just do jekyll serve locally without drafting and just push when ready. There's no point of drafting if it's done like described in the docs, at least with github.
On Thu, 29 Dec 2016, 20:18 Jessica Temporal, [email protected] wrote:
@libeclipse https://github.com/libeclipse just like @TaylanTatli https://github.com/TaylanTatli said, create _drafts folder inside your project root...
I checked in Jekyll documentation... that can be found here https://jekyllrb.com/docs/drafts/
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TaylanTatli/Moon/issues/84#issuecomment-269687372, or mute the thread https://github.com/notifications/unsubscribe-auth/AIhzn9CF3Hz-GN6p8IxbkLucCdujZVFvks5rNBWigaJpZM4LUU-I .
I don't understand what you mean by "Oh it requires a command line argument"... I meant to say that you'll have the _drafts folder on your project on github but it won't be used when generating the site...
Suppose you want to write a post but you don't want to publish it, you could just leave it without a date but then when you give the jekyll serve command you'd get an error saying 'ERROR: YOUR SITE COULD NOT BE BUILT: Invalid date'... I believe that's what the _drafts is for... so you put the 'working in progress posts under a directory that won't be used during the build...
Oh so it's a whole feature to deal with a problem that isn't really a problem.
On the docs it says that you have to give the --drafts option so it wouldn't even work on github.
On Thu, 29 Dec 2016, 20:33 Jessica Temporal, [email protected] wrote:
I don't understand what you mean by "Oh it requires a command line argument"... I meant to say that you'll have the _drafts folder on your project on github but it won't be used when generating the site...
Suppose you want to write a post but you don't want to publish it, you could just leave it without a date but then when you give the jekyll serve command you'd get an error saying 'ERROR: YOUR SITE COULD NOT BE BUILT: Invalid date'... I believe that's what the _drafts is for... so you put the 'working in progress posts under a directory that won't be used during the build...
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TaylanTatli/Moon/issues/84#issuecomment-269689208, or mute the thread https://github.com/notifications/unsubscribe-auth/AIhznwcpgCiWuUYxoGyaS_UjgxVTmfv8ks5rNBkWgaJpZM4LUU-I .
Ooh that... the --drafts is used to "To preview your site with drafts" while testing locally I believe...