hexo命令

Quick Start

部分语法

初始化一个hexo项目

1
hexo init blog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
hexo init blog
//初始化一个hexo项目

hexo new hello Hexo
//新建一篇名为"hello Hexo"的博客
hexo g
//生成静态文件
hexo s
//本地部署预览

hexo d
//打包上传

hexo generate
//编译静态文件

hexo new page test
//hexo会创建source/test/index.md

hexo new page --path _posts/text "测试页面"
//hexo会创建source/_posts/text.md
//同时页面title为“测试页面”

 上一篇
github上hexo-theme-matery主题搭建博客介绍 github上hexo-theme-matery主题搭建博客介绍
参考链接1| 参考链接2 | 参考链接3 | 演示示例 捣捣鼓鼓了许久,终于在github上发布了我的博客,中间遇到好多问题,不管是github上的仓库还是主题中的设置配置,也是因为第一次接触ejs这种类似模板语法的语言,边百度边学习,才
2019-10-10
本篇 
hexo命令 hexo命令
Quick Start部分语法初始化一个hexo项目 1hexo init blog 12345678910111213141516171819202122hexo init blog//初始化一个hexo项目 hexo new hell
2019-10-08
  目录