使用加密插件
This commit is contained in:
@@ -106,6 +106,12 @@ search:
|
||||
limit: 10000
|
||||
content: true
|
||||
|
||||
# 加密插件配置
|
||||
encrypt:
|
||||
enable: true
|
||||
abstract: 这篇文章已加密,输入密码查看内容。
|
||||
message: 输入密码访问本文
|
||||
|
||||
# Deployment
|
||||
## Docs: https://hexo.io/docs/one-command-deployment
|
||||
deploy:
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"hexo": "^7.0.0",
|
||||
"hexo-blog-encrypt": "^3.1.9",
|
||||
"hexo-generator-archive": "^2.0.0",
|
||||
"hexo-generator-category": "^2.0.0",
|
||||
"hexo-generator-index": "^3.0.0",
|
||||
|
||||
@@ -1,18 +1,12 @@
|
||||
---
|
||||
title: Hello World
|
||||
index_img: /img/avatar.png
|
||||
|
||||
password: 1S59
|
||||
---
|
||||
Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).
|
||||
|
||||
## Quick Start
|
||||
|
||||
### image test
|
||||
|
||||
<iframe src="https://www.processon.com/embed/67a56ad638625f07c01febe3?cid=67a56ad638625f07c01febe6" width="800" height="600" frameborder="0" allowfullscreen></iframe>
|
||||
|
||||
# test 14
|
||||
|
||||
### Create a new post
|
||||
|
||||
``` bash
|
||||
|
||||
@@ -3,6 +3,7 @@ title: 千寻产品线一张图
|
||||
date: 2025-02-13 17:08:51
|
||||
tags: 产品线
|
||||
sticky: 100
|
||||
password: 1S59
|
||||
---
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user