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:
@@ -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.
|
||||
|
@@ -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"
|
||||
|
@@ -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
|
||||
|
@@ -1 +1 @@
|
||||
getbootstrap.com
|
||||
v5.getbootstrap.com
|
||||
|
Reference in New Issue
Block a user