portails/layouts/robots.txt

8 lines
141 B
Plaintext
Raw Normal View History

2020-04-15 15:48:16 +02:00
User-agent: *
{{ if eq (hugo.Environment) "production" -}}
Allow: /
{{ else -}}
Disallow: /
{{ end }}
2020-11-04 08:26:58 +01:00
Sitemap: {{ "sitemap.xml" | absURL -}}