1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 17:32:41 +02:00

Prepare docs for v5.getbootstrap.com

* use v5.getbootstrap.com as the site URL/CNAME
* block robots from crawling
* specify next npm tag
This commit is contained in:
XhmikosR
2020-06-16 21:17:28 +03:00
parent c28934cb18
commit 723cd8d12b
6 changed files with 15 additions and 17 deletions

View File

@@ -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