Skip to content

Commit

Permalink
docs(zh): fix typo (#4101) [lunaria-ignore]
Browse files Browse the repository at this point in the history
  • Loading branch information
betteroneday authored Aug 3, 2024
1 parent e1e5d22 commit b6a36bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zh/reference/site-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export default {
- 类型:`string`
- 默认值: `/`

站点将部署到的 base URL。如果计划在子路径例如 GitHub 页面)下部署站点,则需要设置此项。如果计划将站点部署到 `https://foo.github.io/bar/`,那么应该将 `base` 设置为 `'/bar/'`。它应该始终以 `/` 开头和结尾。
站点将部署到的 base URL。如果计划在子路径例如 GitHub 页面下部署站点,则需要设置此项。如果计划将站点部署到 `https://foo.github.io/bar/`,那么应该将 `base` 设置为 `'/bar/'`。它应该始终以 `/` 开头和结尾。

base 会自动添加到其他选项中以 `/` 开头的所有 URL 前面,因此只需指定一次。

Expand Down

0 comments on commit b6a36bc

Please sign in to comment.