-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: update docs * docs: merge faq * docs: update docs * docs: add redirect plugin * docs: update sidebar
- Loading branch information
1 parent
97ac9cc
commit 896253a
Showing
65 changed files
with
915 additions
and
1,068 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,3 @@ services: | |
TZ: "Asia/Shanghai" | ||
volumes: | ||
- vanblog_data_path/data/mongo:/data/db | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,3 @@ services: | |
TZ: "Asia/Shanghai" | ||
volumes: | ||
- ${PWD}/data/mongo:/data/db | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docs/feature/advance/customNav.md → docs/advanced/custom-nav.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: 自定义导航栏 | ||
redirectFrom: /feature/advance/customNav.html | ||
--- | ||
|
||
VanBlog 支持自定义导航栏菜单(只支持添加新的菜单)。 | ||
|
1 change: 1 addition & 0 deletions
1
docs/feature/advance/customPage.md → docs/advanced/custom-page.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: 自定义页面 | ||
redirectFrom: /feature/advance/custom-page.html | ||
--- | ||
|
||
VanBlog 支持自定义页面,但首先请您明确自己的需求。 | ||
|
1 change: 1 addition & 0 deletions
1
docs/feature/advance/customizing.md → docs/advanced/customizing.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: 加密文章 | ||
redirectFrom: /feature/advance/private.html | ||
--- | ||
|
||
VanBlog 支持对文章进行加密。加密后,前台的文章将被隐藏,需要输入密码之后才能看到内容。密码会在后端验证,并只有匹配时才会把文章数据返回前端。 | ||
|
||
![文章列表](https://pic.mereith.com/img/a694826dd1a45976cc652087640c41c1.clipboard-2022-08-16.png) | ||
|
||
![文章详情](https://pic.mereith.com/img/fad60a38e0d6819bfe6089108fe4142a.clipboard-2022-08-16.png) | ||
|
||
## 加密方法 | ||
|
||
- 在创建文章时勾选加密,并输入密码。 | ||
- 在编辑器页面点击 `修改信息`,勾选加密并输入密码。 | ||
- 在发布草稿时勾选加密并输入密码。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: 静态页面更新策略 | ||
redirectFrom: /feature/advance/isr.html | ||
--- | ||
|
||
您可以在后台的 `系统设置/高级设置` 中更改静态页面更新策略或者强制触发静态页面更新: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: RSS | ||
redirectFrom: /feature/advance/rss.html | ||
--- | ||
|
||
VanBlog 内置了 `RSS feed 生成器` ,开箱即用。 | ||
|
||
订阅地址: | ||
|
||
- `<your-site-url>/feed.xml` | ||
- `<your-site-url>/feed.json` | ||
- `<your-site-url>/atom.xml` | ||
|
||
VanBlog 包含后端 Markdown 渲染器,所以你可以在 `RSS 阅读器` 上获得与网站本体尽可能相近的体验(在读取订阅源中 HTML 的情况下)。 | ||
|
||
::: note | ||
|
||
RSS 订阅中的 HTML 暂不支持 mermaid 图表。(如果您有好的解决方案请联系我) | ||
|
||
::: | ||
|
||
`RSS feed` 中的 `HTML` 在 `Feedbro Reader` 拓展中的预览效果: | ||
|
||
![浏览效果](https://www.mereith.com/static/img/bf84404095bdcf8c4a186e0bb1e48429.clipboard-2022-09-04.png) | ||
|
||
您可以用喜欢的阅读器来阅读 RSS,比如我用的 `irreader` 中的效果: | ||
|
||
![阅读效果](https://www.mereith.com/static/img/4b1ab8a59a5b6f0d28eef449db64cbfa.clipboard-2022-09-04.png) | ||
|
||
## 前台按钮 | ||
|
||
默认在所有屏幕尺寸下,导航栏右上角均会出现 `RSS` 按钮。您可以在后台的 `布局设置` 中关闭此选择,关闭后前台所有位置都将不会显示 `RSS` 按钮。 | ||
|
||
## 注意 | ||
|
||
RSS 订阅中的作者邮箱优先取自 `评论设置` 中的作者邮箱,其次是启动 VanBlog 时传递的 `EMAIL` 环境变量。 | ||
|
||
订阅中的 `favicon` 和 `images` 属性的优先级如下: | ||
|
||
![图标/图片优先级](https://www.mereith.com/static/img/27f6636bfe5a53cf51544ab8affd6961.clipboard-2022-09-04.png) | ||
|
||
订阅中每篇文章的 `description` 字段取自每篇文章 `more 标记` 前面的部分 (`<!-- more -->`前面的部分,和前台阅读全文前的展示逻辑一样)。但如果没有 `more 标记`,则会包含整篇文章。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: 登录安全策略 | ||
redirectFrom: /feature/advance/secure.html | ||
--- | ||
|
||
您可以在后台的 `系统设置/高级设置` 中更改登录安全策略: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: 置顶 | ||
redirectFrom: /feature/advance/top.html | ||
--- | ||
|
||
VanBlog 支持对文章进行 `置顶`,是通过设置文章的优先级来实现的。优先级必须为数字,留空或者为 0 表示不顶置,否则会把数字大的拍到最前面。(默认的话是时间倒序的,新建的文章放到最前面。 | ||
|
||
![](https://pic.mereith.com/img/b7af71d314dc73d4ff27b21c9f7bdbeb.clipboard-2022-08-16.png) | ||
|
||
## 设置方法 | ||
|
||
- 在创建文章时设置优先级 | ||
- 在编辑器页面点击`修改信息`,修改优先级 | ||
- 在发布草稿时设置优先级 |
Oops, something went wrong.