AlenQi.github.io
AlenQi.github.io copied to clipboard
:house: this is my blog
Welcome
Catalogue
- 前端面试系列 -- CSS
- 前端面试系列 -- JS
- 算法实现系列(5)—— 找到数组中几个数相加和等于一个固定值
- 算法实现系列(4)—— 斐波那契数列
- 算法实现系列(3)—— 0.1+0.2
- 算法实现系列(2)——大数求和
- 算法实现系列(1)——算法排序算法
- 我们为什么需要 Node 中间层
- Git 使用分享
- 你的 JavaScript 代码都经历了什么
- 利用标签完善你的网站
- 优雅的 JS
- 花式垂直居中
- 函数截流和去抖之间的区别
- 那些被阻止的页面
- Preference
- 输入了 url 然后呢?
- CORS 跨域资源共享
- Atom 使用插件精选(FE)
- Array ES6
- Promise ES6
- Git Command Summary
- gulp 自动化构建 html 静态资源路径版本号添加和替换
- IT 2048
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!