mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 21:04:39 -04:00
Update robots.md
This commit is contained in:
parent
1e64cb4830
commit
9dcc4d4dd3
@ -29,7 +29,7 @@ User-agent: *
|
||||
The [lookup order][lookup] for the `robots.txt` template is as follows:
|
||||
|
||||
* `/layouts/robots.txt`
|
||||
* `/themes/<THEME>/layout/robots.txt`
|
||||
* `/themes/<THEME>/layouts/robots.txt`
|
||||
|
||||
{{% 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.
|
||||
@ -51,4 +51,4 @@ This template disallows all the pages of the site by creating one `Disallow` ent
|
||||
|
||||
[config]: /getting-started/configuration/
|
||||
[lookup]: /templates/lookup-order/
|
||||
[robots]: http://www.robotstxt.org/
|
||||
[robots]: http://www.robotstxt.org/
|
||||
|
Loading…
x
Reference in New Issue
Block a user