PaperModX/layouts/robots.txt

8 lines
183 B
Plaintext
Raw Normal View History

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