1
0
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:
XhmikosR
2020-11-24 21:05:11 +02:00
parent 8dc85c657e
commit bc4272531b
6 changed files with 13 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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