mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-28 15:50:01 +02:00
Revert v5.getbootstrap.com changes
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
},
|
||||
transformData: function (hits) {
|
||||
return hits.map(function (hit) {
|
||||
var liveUrl = 'https://v5.getbootstrap.com/'
|
||||
var liveUrl = 'https://getbootstrap.com/'
|
||||
|
||||
hit.url = window.location.origin.startsWith(liveUrl) ?
|
||||
// On production, return the result as is
|
||||
|
@@ -46,7 +46,7 @@
|
||||
- v: "4.5"
|
||||
|
||||
- group: v5.x
|
||||
baseurl: "https://v5.getbootstrap.com/docs"
|
||||
baseurl: "https://getbootstrap.com/docs"
|
||||
description: "Current major release. Last update was v5.0.0-beta1."
|
||||
versions:
|
||||
- v: "5.0"
|
||||
|
@@ -1,6 +1,8 @@
|
||||
# www.robotstxt.org
|
||||
|
||||
{{- $allowCrawling := false -}}
|
||||
{{- $isProduction := eq hugo.Environment "production" -}}
|
||||
{{- $isNetlify := eq (getenv "NETLIFY") "true" -}}
|
||||
{{- $allowCrawling := and (not $isNetlify) $isProduction -}}
|
||||
|
||||
{{ if $allowCrawling }}
|
||||
# Allow crawling of all content
|
||||
|
@@ -1 +1 @@
|
||||
v5.getbootstrap.com
|
||||
getbootstrap.com
|
||||
|
Reference in New Issue
Block a user