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