问题需求
适用于将整个linux系统迁移到一块新的硬盘或新电脑上。
原 linux(ubunt20.04)安装在 128G 备用盘上,新硬盘 512G固态硬盘
原硬盘分区情况: more >>
Keep calm and carry on
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia-plus根目录)执行以下命令:
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