近期我所在团队接手了一个遗留的前端项目,由于原团队未提供完整的部署文档(包括应用部署路径、Nginx配置参数等关键信息),需要通过SSH连接至Linux服务器进行逆向排查:
- 定位项目文件存储路径
- 找到Nginx配置文件并解析Nginx配置映射关系
缺失模块。
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