Hexo 插件记录

Hexo 插件记录
无趣Hexo pro
- Hexo pro 一个属于你自己的博客后台
- https://github.com/wuzheng228/hexo-pro
- 安装Hexo pro
1
2
3npm install --save hexo-pro
hexo server -d
open http://localhost:4000/pro/
hexo-abbrlink
- 给博客永久链接
- https://github.com/ohroy/hexo-abbrlink更改配置
1
npm install hexo-abbrlink --save
添加配置1
2
3permalink: posts/:abbrlink/
# or
permalink: posts/:abbrlink.html1
2
3
4
5
6
7
8
9
10
11
12
13
14# abbrlink config
abbrlink:
alg: crc32 #support crc16(default) and crc32
rep: hex #support dec(default) and hex
drafts: false #(true)Process draft,(false)Do not process draft. false(default)
# Generate categories from directory-tree
# depth: the max_depth of directory-tree you want to generate, should > 0
auto_category:
enable: true #true(default)
depth: #3(default)
over_write: false
auto_title: false #enable auto title, it can auto fill the title by path
auto_date: false #enable auto date, it can auto fill the date by time today
force: false #enable force mode,in this mode, the plugin will ignore the cache, and calc the abbrlink for every post even it already had abbrlink. This only updates abbrlink rather than other front variables.
hexo-blog-encrypt
- 给博客文章加密
- https://github.com/D0n9X1n/hexo-blog-encrypt
1
npm install --save hexo-blog-encrypt
- 使用方法 在文章信息头添加代码
1
password: hello # 更改hello就是密码
评论
匿名评论隐私政策










