hugo-tufte/layouts/robots.txt
2022-02-18 10:49:20 +01:00

7 lines
No EOL
163 B
Text

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