ref: 084cf4191b3c1e7590a4223fd9251019ef5d4c21
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 }}