mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-22 10:52:19 +00:00
use placeholder in range expression
This commit is contained in:
parent
7b096314bf
commit
0ad5838e9c
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
{{- errorf "%s" . -}}
|
||||
{{- else -}}
|
||||
{{- $robots := unmarshal .Content -}}
|
||||
{{- range $botname, $props := $robots }}
|
||||
{{- range $botname, $_ := $robots }}
|
||||
{{- printf "User-agent: %s\n" $botname }}
|
||||
{{- end }}
|
||||
{{- printf "Disallow: /\n" }}
|
||||
|
|
Loading…
Reference in a new issue