From 061cb570de7f7d4dfaf9a029afca5e6b6dfb8081 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 5 Aug 2024 21:01:14 -0500 Subject: [PATCH] use 'git' as placeholder in range expression --- layouts/partials/bad-robots.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }}