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