hugo-tufte/layouts/robots.txt

7 lines
163 B
Text
Raw Normal View History

2022-02-18 10:49:20 +01:00
User-agent: *
{{- if hugo.IsProduction | or (eq .Site.Params.env "production") }}
Allow: /
{{- else }}
Disallow: /
{{- end }}
Sitemap: {{ "sitemap.xml" | absURL }}