shithub: hugo

ref: 9f1265fde4b9ef186148337c99f08601633b6056
dir: /_vendor/github.com/gohugoio/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 }}