好吧,其实搭建hexo + git + GitHub + markdown的博客并不难
难的是,各种主题的选取,以及主题的设置。
同时也记录一下,比较重要的两个命令行:
1 | hexo new "博客" |
当然,常规的操作是:
1 | 找到_posts里的博客原文,编辑内容,然后再部署到GitHub上面。 |
咸鱼就得多扑腾
缺失模块。
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