🔵hexo博文加密

本文最后更新于:2023年7月28日 凌晨

插件安装

1
npm install --save hexo-blog-encrypt

启用插件

_config.yml文件中添加

1
2
3
# Security
encrypt:
enable: true

加密博文

博文前添加

1
2
3
4
5
---
password: <密码>
abstract: 文章描述
message: 密码提示
---

完成

1
2
3
hexo clean
hexo g
hexo s

🔵hexo博文加密
https://qingshaner.com/hexo博文加密/
作者
清山
发布于
2022年3月10日
许可协议