shithub: hugo

ref: a2f0f9d475073c0bd01cfac960ee1939878fff0a
dir: /docs/themes/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 }}