Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 633 Bytes

README.md

File metadata and controls

41 lines (33 loc) · 633 Bytes

My Blog

Powered by hexo

Install hexo

# globally install hexo
$ npm install -g hexo

# install a plugin for deployment to git page
$ npm install hexo-deployer-git --save

New posts

$ hexo new 'TITTLE'

Edit the file in source\_posts.

Compile, run and deploy

# compile the files
$ hexo g

# start server to check the updates
$ hexo s

# deploy to git page
$ hexo clean && hexo g -d

Themes

Find hexo themes here

# Install the theme
$ git submodule add <repo> themes/<theme-name>

Modify theme in _config.yml

theme: landscape