Skip to content

Latest commit

 

History

History
72 lines (57 loc) · 2.91 KB

README.md

File metadata and controls

72 lines (57 loc) · 2.91 KB

Welcome

Catalogue

About

Usage

I didn't publish it as a single theme folder because a few of the pages are added and modified manually, so you should manually create some extra folders in source for the new pages and modify the _config.yml if you only have the single theme folder.

npm run build

1. Init

git clone https://github.com/AlenQi/AlenQi.github.io.git
    cd AlenQi.github.io
npm install

2. Modify

Modify _config.yml file with your own info. Especially the section:

deploy:
    type: git
repo: https://github.com/AlenQi/AlenQi.github.io.git
    branch: master

Replace with your own repo!

3. Writting/Serve/Deploy

hexo new post "IMAPOST"
hexo serve
# run hexo in local environment
hexo clean && hexo deploy
# hexo will push the static files automatically into the specific branch(master) of your repo!