Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

本博客使用插件

为每篇文章生成唯一链接

1
npm i hexo-abbrlink

_config_yml 中添加以下配置:

blog/_config.yml
1
2
3
4
permalink: p/:abbrlink/
abbrlink:
alg: crc32 #算法: crc16(default) and crc32
rep: hex #进制: dec(default) and hex

RSS 订阅

1
npm i hexo-generator-feed

_config_yml 中添加以下配置:

blog/_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
feed:
type: atom
path: atom.xml
limit: 20
hub:
content:
content_limit: 140
content_limit_delim: ' '
order_by: -date
icon: icon.png
autodiscovery: true
template:

mermaid 支持

1
npm i hexo-filter-kroki

Github Action 自动部署日期更新问题

1
npm i hexo-filter-date-from-git

自动部署脚本设置 fetch-depth: 0 检出 Git 全部提交记录。

.github/workflows/deploy.yml
1
2
3
4
5
- name: Checkout Repository main branch
uses: actions/checkout@v3
with:
submodules: true # Checkout private submodules(themes or something else)
fetch-depth: 0

快来说点儿什么吧~