hugo/_vendor/github.com/gohugoio/gohugoioTheme/layouts/robots.txt
Bjørn Erik Pedersen 5ac0f751aa Squashed 'docs/' changes from 0584815c8..723da4a37
723da4a37 Vendor the theme

git-subtree-dir: docs
git-subtree-split: 723da4a3769ee8a6c02758b553618143f92fccef
2019-10-21 10:52:23 +02:00

8 lines
206 B
Text

User-agent: *
# robotstxt.org - if ENV production variable is false robots will be disallowed.
{{ if eq (getenv "HUGO_ENV") "production" }}
Disallow: admin/
Disallow:
{{ else }}
Disallow: /
{{ end }}