diff --git a/layouts/partials/bad-robots.html b/layouts/partials/bad-robots.html index 2dd28e3..8c229d0 100644 --- a/layouts/partials/bad-robots.html +++ b/layouts/partials/bad-robots.html @@ -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" }}