0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Work around the docs/ redirects.

This happens because we have the section kind enabled (needed for examples).
This commit is contained in:
XhmikosR 2019-02-11 21:52:52 +02:00
parent 850817bb09
commit d948a3f9cb
4 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
layout: redirect
sitemap_exclude: true
redirect: "/docs/4.3/getting-started/introduction/"
---

View File

@ -4,8 +4,6 @@ title: Introduction
description: Get started with Bootstrap, the world's most popular framework for building responsive, mobile-first sites, with BootstrapCDN and a template starter page.
group: getting-started
aliases:
- "/docs/"
- "/docs/4.3/"
- "/docs/4.3/getting-started/"
- "/docs/getting-started/"
- "/getting-started/"

View File

@ -0,0 +1,5 @@
---
layout: redirect
sitemap_exclude: true
redirect: "/docs/4.3/getting-started/introduction/"
---

View File

@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Page.Params.redirect | absURL }}</title>
<link rel="canonical" href="{{ .Page.Params.redirect | absURL }}">
<meta name="robots" content="noindex">
<meta http-equiv="refresh" content="0; url={{ .Page.Params.redirect | absURL }}">
</head>
</html>