shithub: hugo

ref: 4b4bdcfe740d988e4cfb4fee53eced6985576abd
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 }}