use placeholder in range expression

This commit is contained in:
John Bowdre 2024-08-05 21:01:14 -05:00
parent 7b096314bf
commit 0ad5838e9c

View file

@ -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" }}