ref: 882d678bbf2a149a90e2aed4341d7f6fc2cb394d
dir: /docs/themes/gohugoioTheme/layouts/robots.txt/
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 }}