Skip to content

Commit

Permalink
update redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
FezVrasta committed Oct 5, 2020
1 parent 07124ca commit 6410d73
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 6 deletions.
21 changes: 21 additions & 0 deletions 404.html
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta
http-equiv="refresh"
content="0; URL=https://mdbootstrap.github.io/bootstrap-material-design/"
/>
<link
rel="canonical"
href="https://mdbootstrap.github.io/bootstrap-material-design/"
/>
</head>
<body class="bd-docs" data-spy="scroll" data-target=".bd-sidenav-active">
<p>Redirecting to new domain...</p>
</body>
</html>
2 changes: 1 addition & 1 deletion _config.yml
Expand Up @@ -13,7 +13,7 @@ source: .
destination: ./_gh_pages
port: 9001
baseurl: "/bootstrap-material-design"
url: https://bootstrap-material-design.github.io
url: https://mdbootstrap.github.io
encoding: UTF-8
exclude: [.git, .github, assets/scss/, build, js, node_modules, nuget, scss, vendor, bower.json, composer.json, Gemfile, Gemfile.lock, Gruntfile.js, package.js, package.json, package-lock.json, sache.json]

Expand Down
4 changes: 2 additions & 2 deletions _includes/header.html
Expand Up @@ -5,9 +5,9 @@
/>
<meta
http-equiv="refresh"
content="0; URL=https://bootstrap-material-design.github.io/bootstrap-material-design{{ page.url }}"
content="0; URL=https://mdbootstrap.github.io/bootstrap-material-design{{ page.url }}"
/>
<link
rel="canonical"
href="https://bootstrap-material-design.github.io/bootstrap-material-design{{ page.url }}"
href="https://mdbootstrap.github.io/bootstrap-material-design{{ page.url }}"
/>
2 changes: 1 addition & 1 deletion _includes/scripts.html
Expand Up @@ -58,7 +58,7 @@
transformData: function (hits) {
return hits.map(function (hit) {
console.log(hit.url);
hit.url = hit.url.replace('https://bootstrap-material-design.github.io/', '/');
hit.url = hit.url.replace('https://mdbootstrap.github.io/', '/');
return hit;
});
},
Expand Down
4 changes: 2 additions & 2 deletions docs/4.0/examples/index.html
Expand Up @@ -8,11 +8,11 @@
/>
<meta
http-equiv="refresh"
content="0; URL=https://bootstrap-material-design.github.io/bootstrap-material-design/docs/4.0/examples/"
content="0; URL=https://mdbootstrap.github.io/bootstrap-material-design/docs/4.0/examples/"
/>
<link
rel="canonical"
href="https://bootstrap-material-design.github.io/bootstrap-material-design{{ page.url }}"
href="https://mdbootstrap.github.io/bootstrap-material-design/docs/4.0/examples/"
/>
</head>
<body class="bd-docs" data-spy="scroll" data-target=".bd-sidenav-active">
Expand Down
21 changes: 21 additions & 0 deletions docs/4.0/index.html
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta
http-equiv="refresh"
content="0; URL=https://mdbootstrap.github.io/bootstrap-material-design/docs/4.0/"
/>
<link
rel="canonical"
href="https://mdbootstrap.github.io/bootstrap-material-design/docs/4.0/"
/>
</head>
<body class="bd-docs" data-spy="scroll" data-target=".bd-sidenav-active">
<p>Redirecting to new domain...</p>
</body>
</html>

0 comments on commit 6410d73

Please sign in to comment.