diff --git a/layouts/robots.txt b/layouts/robots.txt index 1ae7abf..56f736f 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -1,2 +1,2 @@ User-agent: * -Disallow: {{ if ne .Hugo.Environment "production" }}/{{ end }} +Disallow: {{ if ne hugo.Environment "production" }}/{{ end }}