hexo博客优化
1.前言
接着上一篇文章,做一下博客的优化以及一些发表博客常用的命令,相信大家通过第一篇博客已经搭好了属于自己的博客,那么接下来,做一些页面上的优化!
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