mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
Update robots.md
This commit is contained in:
1 parent
1e64cb4830
commit
9dcc4d4dd3
1 file changed
+2
-2
@@ -29,7 +29,7 @@ User-agent: *
|
|||||||
The [lookup order][lookup] for the `robots.txt` template is as follows:
|
The [lookup order][lookup] for the `robots.txt` template is as follows:
|
||||||
|
|
||||||
* `/layouts/robots.txt`
|
* `/layouts/robots.txt`
|
||||||
* `/themes/<THEME>/layout/robots.txt`
|
* `/themes/<THEME>/layouts/robots.txt`
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
If you do not want Hugo to create a default `robots.txt` or leverage the `robots.txt` template, you can hand code your own and place the file in `static`. Remember that everything in the [static directory](/getting-started/directory-structure/) is copied over as-is when Hugo builds your site.
|
If you do not want Hugo to create a default `robots.txt` or leverage the `robots.txt` template, you can hand code your own and place the file in `static`. Remember that everything in the [static directory](/getting-started/directory-structure/) is copied over as-is when Hugo builds your site.
|
||||||
@@ -51,4 +51,4 @@ This template disallows all the pages of the site by creating one `Disallow` ent
|
|||||||
|
|
||||||
[config]: /getting-started/configuration/
|
[config]: /getting-started/configuration/
|
||||||
[lookup]: /templates/lookup-order/
|
[lookup]: /templates/lookup-order/
|
||||||
[robots]: http://www.robotstxt.org/
|
[robots]: http://www.robotstxt.org/
|
||||||
Reference in new issue
Block a user