ktrmnm / blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ktrmnm blog

Requirements

  • Node.js
  • Hexo

How to use

On master branch

(1) Create new post

Execute this

hexo new <post_title>

or just put a markdown text to soure/_posts. I like to use post titles like as "yyyy-mm-dd-title".

If you want to generate a draft, execute

hexo new draft <draft_name>

A draft is ignored by hexo generate. To convert a draft into a publication-ready post, execute

hexo publish post <draft_name>

(2) Edit the text

by markdown.

(3) Deploy

hexo generate -d

This command automatically pushes to gh-pages branch. See _config.yml for detailed configuration.

For any other usages, see the official document of Hexo for details.

About


Languages

Language:HTML 48.1%Language:CSS 45.7%Language:JavaScript 6.1%