shithub: hugo

ref: 1123711b0979b1647d7c486f67af7503afb11abb
dir: /docs/_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 }}