feat: added robots.txt

This commit is contained in:
Niklas 2024-10-22 00:25:22 +02:00
parent ebe4fbf5fb
commit a117e97a2f

7
layouts/robots.txt Normal file
View File

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