congo/layouts/robots.txt

8 lines
164 B
Plaintext
Raw Permalink Normal View History

2021-08-11 05:28:33 +00:00
User-agent: *
{{- if hugo.IsProduction | or (eq .Site.Params.env "production") }}
2022-01-27 04:58:01 +00:00
Allow: /
2021-08-11 05:28:33 +00:00
{{- else }}
Disallow: /
{{- end }}
Sitemap: {{ "sitemap.xml" | absURL }}