Browse files


  • Loading branch information...
ribice authored and bep committed Oct 11, 2017
1 parent 1e64cb4 commit 9dcc4d4dd33c2bca91ead558ed12a1857dee695d
Showing with 2 additions and 2 deletions.
  1. +2 −2 content/templates/
@@ -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/

0 comments on commit 9dcc4d4

Please sign in to comment.