diff --git a/robots.txt.tmpl b/robots.txt.tmpl index eb17ffb..257998c 100644 --- a/robots.txt.tmpl +++ b/robots.txt.tmpl @@ -1,7 +1,7 @@ User-agent: * Disallow: / -{{ if eq $PB_PUBLIC_DIRECTORY "true" }} +{{ if eq (env "PB_PUBLIC_DIRECTORY") "true" }} User-agent: PrivateBinDirectoryBot Disallow: / {{ else }}