hugo-PaperMod/layouts/robots.txt
2020-12-13 20:19:25 +05:30

8 lines
165 B
Plaintext

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