Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 788 Bytes

example.md

File metadata and controls

51 lines (31 loc) · 788 Bytes
title date author author_link tags
just example
2014-11-11
errorrik
JavaScript

This is just blog example.

Creating

You can create a draft by using hexo new command. For example:

$ hexo new draft <title>

Files will be saved in source/_drafts folder.

Previewing

To preview your site with drafts, you can enable render_drafts setting in _config.yml:

render_drafts: true

or run hexo server with -d or --drafts flag.

$ hexo server --drafts

Publishing

Once your draft is done, you can publish it with hexo publish command.

$ hexo publish [layout] <filename>

Files will be moved to source/_posts folder and applied with the layout you specified in the command.