安装hexo
前提需要机器中安装了node.js(下载最新版)和git(下载最新版),安装过程参考网上教程(widowns下一路无脑下一步)。其中nodejs作为本地运行调试博客程序所必须,当需要将博客部署至github上托管时,需要用到git工具。
more >>
这里是我的博客,分享技术笔记。
缺失模块。
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