From e465eaeb335b3600cc5494d3808c69748b0ba36e Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 27 Jan 2022 15:58:01 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Update=20robots.txt=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/robots.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/robots.txt b/layouts/robots.txt index da3e7e0d..ad35c9df 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -1,6 +1,6 @@ User-agent: * {{- if hugo.IsProduction | or (eq .Site.Params.env "production") }} -Disallow: +Allow: / {{- else }} Disallow: / {{- end }}