status-desktop/devuser_guide/layouts/robots.txt

8 lines
141 B
Plaintext

User-agent: *
{{ if eq (hugo.Environment) "production" -}}
Allow: /
{{ else -}}
Disallow: /
{{ end }}
Sitemap: {{ "sitemap.xml" | absURL -}}