Skip to content

Commit

Permalink
Revert v5.getbootstrap.com changes
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Dec 7, 2020
1 parent 8dc85c6 commit bc42725
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://v5.getbootstrap.com/">
<img src="https://v5.getbootstrap.com/docs/5.0/assets/brand/bootstrap-logo-shadow.png" alt="Bootstrap logo" width="200" height="165">
<a href="https://getbootstrap.com/">
<img src="https://getbootstrap.com/docs/5.0/assets/brand/bootstrap-logo-shadow.png" alt="Bootstrap logo" width="200" height="165">
</a>
</p>

Expand All @@ -9,7 +9,7 @@
<p align="center">
Sleek, intuitive, and powerful front-end framework for faster and easier web development.
<br>
<a href="https://v5.getbootstrap.com/docs/5.0/"><strong>Explore Bootstrap docs »</strong></a>
<a href="https://getbootstrap.com/docs/5.0/"><strong>Explore Bootstrap docs »</strong></a>
<br>
<br>
<a href="https://github.com/twbs/bootstrap/issues/new?template=bug_report.md">Report bug</a>
Expand Down Expand Up @@ -53,7 +53,7 @@ Several quick start options are available:
- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:5.0.0-beta1`
- Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package bootstrap` Sass: `Install-Package bootstrap.sass`

Read the [Getting started page](https://v5.getbootstrap.com/docs/5.0/getting-started/introduction/) for information on the framework contents, templates and examples, and more.
Read the [Getting started page](https://getbootstrap.com/docs/5.0/getting-started/introduction/) for information on the framework contents, templates and examples, and more.


## Status
Expand Down Expand Up @@ -141,7 +141,7 @@ Have a bug or a feature request? Please first read the [issue guidelines](https:

## Documentation

Bootstrap's documentation, included in this repo in the root directory, is built with [Hugo](https://gohugo.io/) and publicly hosted on GitHub Pages at <https://v5.getbootstrap.com/>. The docs may also be run locally.
Bootstrap's documentation, included in this repo in the root directory, is built with [Hugo](https://gohugo.io/) and publicly hosted on GitHub Pages at <https://getbootstrap.com/>. The docs may also be run locally.

Documentation search is powered by [Algolia's DocSearch](https://community.algolia.com/docsearch/). Working on our search? Be sure to set `debug: true` in `site/assets/js/search.js`.

Expand All @@ -156,7 +156,7 @@ Learn more about using Hugo by reading its [documentation](https://gohugo.io/doc

### Documentation for previous releases

You can find all our previous releases docs on <https://v5.getbootstrap.com/docs/versions/>.
You can find all our previous releases docs on <https://getbootstrap.com/docs/versions/>.

[Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download.

Expand Down
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
languageCode: "en"
title: "Bootstrap"
baseURL: "https://v5.getbootstrap.com"
baseURL: "https://getbootstrap.com"
enableInlineShortcodes: true

markup:
Expand Down
2 changes: 1 addition & 1 deletion site/assets/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion site/data/docs-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 3 additions & 1 deletion site/layouts/robots.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion site/static/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v5.getbootstrap.com
getbootstrap.com

0 comments on commit bc42725

Please sign in to comment.