2017年2月19日了,这天比预期的时间晚来了30天,30天前我告诉自己,要弄一个个人站点。
本来在现有的Hexo成熟的框架条件下,个人博客最多20分钟就可以弄好,但是我却花了比我预期多的多的时间。这些事件都耗费在哪了?耗费在不够专注:上班修改优化项目零碎的时间里,Hexo安装错误,一波接着一波的安装卸载,GitHub Pages删了又重新添加,全是无用之功。
more >>资质平庸,认知局限
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true