docs: update zh-tw (#265)

Reviewed-on: https://gitea.com/gitea/docs/pulls/265
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: ifurther <55025025+ifurther@users.noreply.github.com>
Co-committed-by: ifurther <55025025+ifurther@users.noreply.github.com>
This commit is contained in:
ifurther
2025-09-03 21:00:35 +00:00
committed by techknowlogick
parent 908a27589d
commit cb462089e9
88 changed files with 3545 additions and 3423 deletions

View File

@@ -8,21 +8,21 @@ aliases:
# 搜索引擎索引
默认情况下,您的 Gitea 安将被搜索引擎索引。
如果您不希望您的仓库对搜索引擎可见,请进一步阅读。
默认情况下,您的 Gitea 安将被搜索引擎索引。
如果您不希望您的存放庫对搜索引擎可见,請進一步阅读。
## 使用 robots.txt 阻止搜索引擎索引
了使 Gitea 顶级安提供自定义的`robots.txt`(默认空的 404在 [`custom`文件夹或`CustomPath`]administration/customizing-gitea.md建一个名 `public/robots.txt` 的文件。
了使 Gitea 顶级安提供自定义的`robots.txt`(默认空的 404在 [`custom`文件夹或`CustomPath`]administration/customizing-gitea.md中建一个名 `public/robots.txt` 的文件。
有关如何配置 `robots.txt` 的示例,参考 [https://moz.com/learn/seo/robotstxt](https://moz.com/learn/seo/robotstxt)。
有关如何配置 `robots.txt` 的示例,参考 [https://moz.com/learn/seo/robotstxt](https://moz.com/learn/seo/robotstxt)。
```txt
User-agent: *
Disallow: /
```
如果您将 Gitea 安在子目中,则需要在顶级目录中创建或编辑 `robots.txt`
如果您将 Gitea 安在子目中,则需要在顶级目錄中建立或编辑 `robots.txt`
```txt
User-agent: *