Starrier的博客
一。 Gulp说明
如果在使用gulp命令时,导致压缩html无法被压缩,出现异常,目前的解决方法是,在gulpfile.js中禁用minify-html模块
特别说明
使用hexo new语法生成的文章中:
---
title :
date :
tags :
excerpt :
swiper :
keywords :
description :
---
所以value禁止出现markdown语法内容。
站点性能检测
安装插件
npm install
添加文件budget.json ,直接复制附件内容
[
{
" path " : " /* " ,
" timings " : [
{
" metric " : " interactive " ,
" budget " : 300