shithub: hugo

ref: e614d8a57c2ff5eef9270d51fcc6518398d7ff88
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 }}