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