hexo博客使用
1. 站内文章跳转
推荐使用标签:假设你想跳转
Hello World博客(是博客的title,不是文件名)(不必在同一文件夹下)Hello World1
{%post_link 'Hello World'%}
使用相对路径(保证你跳转的博客date跟当前博客一致)
1
[hexo搭建](../hexo搭建)
绝对路径
1
[Hello world](https://lankeren035.github.io/2014/12/24/hexo/hello-world/)
缺失模块。
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