diff options
Diffstat (limited to 'vendor/twbs/bootstrap/site/layouts/robots.txt')
-rw-r--r-- | vendor/twbs/bootstrap/site/layouts/robots.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/twbs/bootstrap/site/layouts/robots.txt b/vendor/twbs/bootstrap/site/layouts/robots.txt index 271b4f1b7..bafd23893 100644 --- a/vendor/twbs/bootstrap/site/layouts/robots.txt +++ b/vendor/twbs/bootstrap/site/layouts/robots.txt @@ -1,8 +1,7 @@ # www.robotstxt.org -{{- $isProduction := eq hugo.Environment "production" -}} {{- $isNetlify := eq (getenv "NETLIFY") "true" -}} -{{- $allowCrawling := and (not $isNetlify) $isProduction -}} +{{- $allowCrawling := and (not $isNetlify) hugo.IsProduction -}} {{ if $allowCrawling }} # Allow crawling of all content |