This commit is contained in:
+4
-9
@@ -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