Windows下安装配置Hexo3.x备忘
文章目录
官方链接
Quick Start
- 安装Git
- GitHub上建库
- 安装Node.js
安装hexo
1npm install -g hexo-cli配置工作目录
12345hexo init <folder>cd <folder>npm installnpm install hexo-deployer-git --savenpm install hexo-tag-asset-res --save配置_config.yml
123456789101112131415161718title: Skywolfsubtitle:description:author: Zhang Jianunlanguage: zh_CNtimezone: Asia/Shanghaiurl: http://skywolf.github.iopost_asset_folder: truedeploy:type: gitrepo: git@github.com:skywolf/skywolf.github.iogoogleapis换成国内镜像useso
替换themes\landscape\layout_partial\after-footer.ejs里的googleapis.com为useso.com
操作命令
Create a new post
|
|
More info: Writing
Run server
|
|
More info: Server
Generate static files
|
|
More info: Generating
Deploy to remote sites
|
|
More info: Deployment