大家好,我是一个刚开始学编程没多久的大学狗。我的梦想是当一名月入过万的程序猿,我认为,既然要当一个出色的程序猿,那就应该有一个属于自己的博客。这是我第一次真真正正的搭建好的一个博客,历时多个不眠之夜,之前也弄过几次,只会fork、clone,不会上传(现在也不是很会),话不多说,希望我能在这条路上越走越远吧。
缺失模块。
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