Update robots.md

This commit is contained in:
Emir Ribić 2017-10-11 15:13:47 +02:00 committed by Bjørn Erik Pedersen
parent 1e64cb4830
commit 9dcc4d4dd3

View File

@ -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/