1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +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

@@ -58,7 +58,7 @@ Pull in Bootstrap's **source files** into nearly any project with some of the mo
Install Bootstrap in your Node.js powered apps with [the npm package](https://www.npmjs.com/package/bootstrap):
{{< highlight sh >}}
npm install bootstrap
npm install bootstrap@next
{{< /highlight >}}
`const bootstrap = require('bootstrap')` or `import bootstrap from 'bootstrap'` will load all of Bootstrap's plugins onto a `bootstrap` object.

View File

@@ -46,7 +46,7 @@
- v: "4.5"
- group: v5.x
baseurl: "https://getbootstrap.com/docs"
baseurl: "https://v5.getbootstrap.com/docs"
description: "Current major release. Last update was v5.0.0-alpha1."
versions:
- v: "5.0"

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

View File

@@ -1 +1 @@
getbootstrap.com
v5.getbootstrap.com