(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>.md
in_drafts
folder, if exists, else in project folder. - To run it local
bundle exec jekyll serve --draft
orbin/run
- If you are ready/finishing writing, move it into to
_posts
folder to publish. - push the changes