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