feat: added robots.txt
This commit is contained in:
parent
ebe4fbf5fb
commit
a117e97a2f
7
layouts/robots.txt
Normal file
7
layouts/robots.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
User-agent: *
|
||||||
|
{{- if hugo.IsProduction | or (eq site.Params.env "production") }}
|
||||||
|
Disallow:
|
||||||
|
{{- else }}
|
||||||
|
Disallow: /
|
||||||
|
{{- end }}
|
||||||
|
Sitemap: {{ "sitemap.xml" | absURL }}
|
Loading…
Reference in New Issue
Block a user