hugo-PaperMod/layouts/robots.txt
Martin Pittermann e6dad8a6a2 Revert "list pages with robotsNoIndex in robots.txt"
This reverts commit 724b999be4c1299d8481b25ef13cc7c98cd7a6db.
2022-05-08 12:51:56 +02:00

8 lines
164 B
Plaintext

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