一个简约的在线简历主题
如何使用
方式一
- 下载 示例源码 的整个仓库代码。
1 | git clone https://github.com/xaoxuu/resume-docs |
- 然后安装必要的依赖包
1 | npm i |
方式二
创建全新的博客,通过 npm
命令安装:1
npm i hexo-theme-resume
然后删除多余的依赖包(重要),打开 package.json
复制并全部替换为以下内容:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28{
"name": "hexo-site",
"private": true,
"hexo": {
"version": "5.0.0"
},
"scripts": {
"start": "hexo server",
"build": "node pre-deploy.js && hexo clean && hexo generate",
"deploy": "npm run build && hexo deploy"
},
"engines": {
"node": ">=8.9.0"
},
"dependencies": {
"hexo": "^5.0.0",
"hexo-all-minifier": "^0.5.3",
"hexo-autonofollow": "^1.0.1",
"hexo-deployer-git": "^2.1.0",
"hexo-fs": "^3.1.0",
"hexo-lazyload-image": "^1.0.9",
"hexo-offline": "^1.0.0",
"hexo-renderer-ejs": "^1.0.0",
"hexo-renderer-marked": "^3.0.0",
"hexo-renderer-stylus": "^1.1.0",
"hexo-server": "^1.0.0"
}
}
然后输入 npm i
安装依赖包。
编写简历
打开 index.md
文件:1
resume-docs/src/index.md
按照示例中的提示语将信息修改为自己的。
部署
打开站点配置文件:1
2
3
4
5deploy:
- type: git
repo: # 项目路径
branch: master
message: update pages
Hexo 官方教程: https://hexo.io/zh-cn/docs/one-command-deployment
图标从这里找:https://fontawesome.com/
如果需要更多 DIY,请自行修改源码。
简历主题不支持评论,如果需要,请自行集成。