冬吴同学会:无好奇,不迭代
人脑的基本能力
- 提问
- 推理
所谓学问,就是学会提问
Put blog source code to anywhere but github pages’ master branch.
Add NexT to blog as git submodule.
And change the scheme in themes/next/_config.yml (optional)
1 | # --------------------------------------------------------------- |
Update _config.yml1
2
3
4deploy:
type: git
repo: git@github.com:xxx/xxx.github.io.git
branch: master
Deploy1
2
3npm install hexo-deployer-git --save # once
hexo generate
hexo deploy
Update _config.yml1
post_asset_folder: true
Then Hexo will create a folder every time you make a new post with the hexo new <title>
command. This asset folder will have the same name as the markdown file associated with the post.
1 | {% asset_img slug [title] %} |
1 | cd <blog dir> |
Update _config.yml1
theme: next
Update themes/next/_config.yml1
2
3
4
5
6
7
8
9# ---------------------------------------------------------------
# Scheme Settings
# ---------------------------------------------------------------
# Schemes
#scheme: Muse
#scheme: Mist
#scheme: Pisces
scheme: Gemini