Git命令

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

git启动本地服务

1
hexo cl; hexo s

推送更新上线

1
hexo cl; hexo g; hexo d

新建文章命令

1
hexo new 这是一篇新的博文

新建标签页命令

1
hexo new page 新建的标签页

更新追番数据

1
hexo bangumi -u

图床网址

1
2
3
https://img.090227.xyz/

https://img.131213.xyz/

追番插件项目地址

更新数据

1
2
3
4
5
6
7
8
9
10
11
12
# 更新追番数据
hexo bangumi -u

# 使用 bili 源时显示追番进度(需要 SESSDATA)
hexo bangumi -u 'your_sessdata_here'

# 更新追剧数据
hexo cinema -u

# 更新游戏数据
hexo game -u

删除数据

1
2
3
4
5
6
7
8
# 删除追番数据
hexo bangumi -d

# 删除追剧数据
hexo cinema -d

# 删除游戏数据
hexo game -d

添加任意文件

例如当我们想在网站根目录添加ads.txt文件,来通过站长验证时,我们只需要在/source文件夹下放置该文件即可。


Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment