Hexo-Build
简介:由于上次配置Indigo主题出现问题。没找到问题所在[在CentOS 7、Ubuntu16.04都测试过没问题。Windows10 Pro有问题]。~~~所以换成了聂明照 博主提供的主题感谢聂明照开源博客。~~最近换了volantis主题。
安装
git clone -b theme https://github.com/niemingzhao/niemingzhao.github.io.git themes/default |
./themes/default下有两个YML配置文件。_config.yml和 _config.template.yml 。我是用了博主__config.yml
用的yml。_config.template.yml改起来貌似有问题,后来直接换回去。
修改hexo/_config.yml。启用default主题
theme: default
hexo clean && hexo g |
启动效果如下

配置
pages: |
在hexo/source目录下新建tagcloud和about目录,分别新建index.md文件。对应两个页面。
- 在本地我使用的是Typora编辑,打开。要使用标签右键插入YAML Front Matter.不能直接使用’— —‘

配置SSH Key
git config –global user.email “GodYeksha@gmail.com“
git config –global user.name “GodYeksha”
ssh-keygen -t rsa -C “GodYeksha@gmail.com“
上传到 ~/.ssh/authorized_keys
本部落格所有文章除特別聲明外,均採用 CC BY-NC-SA 4.0 許可協議。轉載請註明來自 Fungit!
評論