User-agent: * {{ if eq (hugo.Environment) "production" -}} Allow: / {{ else -}} Disallow: / {{ end }} Sitemap: {{ "sitemap.xml" | absURL -}}