内容简介
此篇文章介绍的是基础的hexo+github搭建个人博客的方法,包括搭建之前的准备工作和搭建的步骤过程,当最后达到了预期效果,并且想深入研究其他功能时,可以参考hexo+github创建个人博客–深入篇,里面介绍了关于博客的主题,图床,评论,统计等功能的配置和实现。
more >>
玉面小飞龙
缺失模块。
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