diff --git a/demo/yun/site.config.ts b/demo/yun/site.config.ts index a824ec32..d0e54ae6 100644 --- a/demo/yun/site.config.ts +++ b/demo/yun/site.config.ts @@ -144,4 +144,11 @@ export default defineSiteConfig({ encrypt: { enable: true, }, + + redirects: [ + { + from: '/foo', + to: '/about', + }, + ], }) diff --git a/docs/pages/guide/config/index.md b/docs/pages/guide/config/index.md index 750b4faa..5b688d25 100644 --- a/docs/pages/guide/config/index.md +++ b/docs/pages/guide/config/index.md @@ -539,7 +539,15 @@ password: your_password ::: ::: tip + +
+如果在文章的 Front Matter 中设置了 `password`,文章中的部分加密将被忽略。 +
+ +
If you set `password` in Front Matter, partial encryption will be ignored. +
+ ::: ::: zh-CN @@ -558,6 +566,62 @@ Wrap content to be encrypted in `