Creating
You can create a draft by using hexo new
command. For example:
Files will be saved in source/_drafts
folder.
Previewing
To preview your site with drafts, you can enable render_drafts
setting in _config.yml
:
or run hexo server
with -d
or --drafts
flag.
Publishing
Once your draft is done, you can publish it with hexo publish
command.
Files will be moved to source/_posts
folder and applied with the layout you specified in the command.