portfolio/themes/ananke/layouts/robots.txt

8 lines
228 B
Plaintext
Raw Normal View History

2020-07-05 19:29:18 +00:00
User-agent: *
# robotstxt.org - if ENV production variable is false robots will be disallowed.
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
Disallow:
{{ else }}
Disallow: /
{{ end }}