hugo-PaperMod/layouts/robots.txt

8 lines
165 B
Plaintext

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