portails/layouts/robots.txt

8 lines
145 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 }}
Sitemap: {{ "sitemap.xml" | absLangURL -}}