🚸 Remove env check in robots.txt generation

Fixes: #620
This commit is contained in:
James Panther
2023-09-12 11:37:25 +10:00
parent 09797137b6
commit f31082dec8
2 changed files with 1 additions and 4 deletions
-4
View File
@@ -1,7 +1,3 @@
User-agent: *
{{- if hugo.IsProduction | or (eq .Site.Params.env "production") }}
Allow: /
{{- else }}
Disallow: /
{{- end }}
Sitemap: {{ "sitemap.xml" | absURL }}