Fix robots.txt
All checks were successful
Build and Publish Docker Image / build (push) Successful in 23s
All checks were successful
Build and Publish Docker Image / build (push) Successful in 23s
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ range $robot := .Site.Params.robots }}
|
||||
User-agent: {{ $robot }}
|
||||
Disallow: /
|
||||
{{end}}
|
||||
{{ else }}
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
{{ end }}
|
||||
{{ range $robot := .Site.Params.robots }}
|
||||
User-agent: {{ $robot }}
|
||||
Disallow: /
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user