Yilia 是为 hexo 2.4+制作的主题。 崇尚简约优雅,以及极致的性能
1、clone yilia主题
1 | $ git clone https://github.com/litten/hexo-theme-yilia.git themes/yilia #在项目根目录的执行 |
2、修改根目录的_config.yml文件
1 | theme: yilia //默认为landscape |
3、修改themes/yilia/_config.yml文件(新增了gitment的配置):
1 | # Header |
4、本地运行和发布
1 | hexo clean #清空之前主题 |
5、创建新的博客文章
1 | hexo new '博客文章名字' |