基础
服务器端处理一次网络请求流程
- 获取请求的数据
- 客户端与服务器建立连接发出请求,服务器接受请求
- 构建响应数据
- 当服务器接收完请求,并在用户空间处理客户端的请求,直到构建响应完成
- 返回数据
- 服务器将已构建好的响应再通过内核空间的网络 I/O 发还给客户端

缺失模块。
1、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
2、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: true raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true