css经常会要做一些调整,最后几番改动下来乱的自己都看不明白,给人感觉很糟糕,因此一开始就有一个标准并严格按照标准来写就真的非常重要了。特别是在比较忙的时候,自己看自己的代码都会觉得太乱了 很遭罪。
因此就需要做出一些优化,高标准严要求哈哈
welcome to wonderland
tag:
缺失模块。
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