shithub: hugo

ref: b74591123eac47a20d1f26ff3e2d291cd9c5cfc0
dir: /_vendor/github.com/gohugoio/gohugoioTheme/layouts/robots.txt/

View raw version
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 }}