diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-06-16 21:17:28 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-06-16 22:02:03 +0300 |
commit | 723cd8d12bdd48f389234b5fc40c3b1789807b4d (patch) | |
tree | beb9cff0c8ecd8ee6f64a14e20ca01af1438d830 /site/layouts | |
parent | c28934cb1871d6b6bd6a866660493a1137de17c6 (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.txt | 4 |
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 |