(It’s more for me, to not to forget the handling 😉 )
- Ensure you have a folder
_drafts. - Run
bin/new_post.rb <Title, with whitespaces>this generates a Markdown file with name<2020-10-10-Title,_with_whitespaces>.mdin_draftsfolder, if exists, else in project folder. - To run it local
bundle exec jekyll serve --draftorbin/run - If you are ready/finishing writing, move it into to
_postsfolder to publish. - push the changes