Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-06-16 21:17:28 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-06-16 22:02:03 +0300
commit723cd8d12bdd48f389234b5fc40c3b1789807b4d (patch)
treebeb9cff0c8ecd8ee6f64a14e20ca01af1438d830 /site/layouts
parentc28934cb1871d6b6bd6a866660493a1137de17c6 (diff)
Prepare docs for v5.getbootstrap.com
* use v5.getbootstrap.com as the site URL/CNAME * block robots from crawling * specify next npm tag
Diffstat (limited to 'site/layouts')
-rw-r--r--site/layouts/robots.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/site/layouts/robots.txt b/site/layouts/robots.txt
index 271b4f1b7b..79dddec829 100644
--- a/site/layouts/robots.txt
+++ b/site/layouts/robots.txt
@@ -1,8 +1,6 @@
# www.robotstxt.org
-{{- $isProduction := eq hugo.Environment "production" -}}
-{{- $isNetlify := eq (getenv "NETLIFY") "true" -}}
-{{- $allowCrawling := and (not $isNetlify) $isProduction -}}
+{{- $allowCrawling := false -}}
{{ if $allowCrawling }}
# Allow crawling of all content