mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 06:17:45 +00:00
Update robots.md
This commit is contained in:
1 parent
1e64cb4830
commit
9dcc4d4dd3
1 file changed
+1
-1
@@ -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.
|
||||||
|
|||||||
Reference in new issue
Block a user