loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix the robots.txt path

authored by

Lunny Xiao and committed by
GitHub
dca195e9 1050d7a7

+2 -2
+1 -1
docs/content/administration/search-engines-indexation.en-us.md
··· 23 23 ## Block search engines indexation using robots.txt 24 24 25 25 To make Gitea serve a custom `robots.txt` (default: empty 404) for top level installations, 26 - create a file called `robots.txt` in the [`custom` folder or `CustomPath`](administration/customizing-gitea.md) 26 + create a file with path `public/robots.txt` in the [`custom` folder or `CustomPath`](administration/customizing-gitea.md) 27 27 28 28 Examples on how to configure the `robots.txt` can be found at [https://moz.com/learn/seo/robotstxt](https://moz.com/learn/seo/robotstxt). 29 29
+1 -1
docs/content/administration/search-engines-indexation.zh-cn.md
··· 22 22 23 23 ## 使用 robots.txt 阻止搜索引擎索引 24 24 25 - 为了使 Gitea 为顶级安装提供自定义的`robots.txt`(默认为空的 404),请在[`custom`文件夹或`CustomPath`](administration/customizing-gitea.md)中创建一个名为 `robots.txt` 的文件。 25 + 为了使 Gitea 为顶级安装提供自定义的`robots.txt`(默认为空的 404),请在 [`custom`文件夹或`CustomPath`](administration/customizing-gitea.md)中创建一个名为 `public/robots.txt` 的文件。 26 26 27 27 有关如何配置 `robots.txt` 的示例,请参考 [https://moz.com/learn/seo/robotstxt](https://moz.com/learn/seo/robotstxt)。 28 28