diff options
| -rw-r--r-- | site/content/docs/4.3/_index.html | 5 | ||||
| -rw-r--r-- | site/content/docs/4.3/getting-started/introduction.md | 2 | ||||
| -rw-r--r-- | site/content/docs/_index.html | 5 | ||||
| -rw-r--r-- | site/layouts/_default/redirect.html | 11 |
4 files changed, 21 insertions, 2 deletions
diff --git a/site/content/docs/4.3/_index.html b/site/content/docs/4.3/_index.html new file mode 100644 index 000000000..9f56983c1 --- /dev/null +++ b/site/content/docs/4.3/_index.html @@ -0,0 +1,5 @@ +--- +layout: redirect +sitemap_exclude: true +redirect: "/docs/4.3/getting-started/introduction/" +--- diff --git a/site/content/docs/4.3/getting-started/introduction.md b/site/content/docs/4.3/getting-started/introduction.md index 438be1ea8..7e32385f9 100644 --- a/site/content/docs/4.3/getting-started/introduction.md +++ b/site/content/docs/4.3/getting-started/introduction.md @@ -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/" diff --git a/site/content/docs/_index.html b/site/content/docs/_index.html new file mode 100644 index 000000000..9f56983c1 --- /dev/null +++ b/site/content/docs/_index.html @@ -0,0 +1,5 @@ +--- +layout: redirect +sitemap_exclude: true +redirect: "/docs/4.3/getting-started/introduction/" +--- diff --git a/site/layouts/_default/redirect.html b/site/layouts/_default/redirect.html new file mode 100644 index 000000000..2cd10f9d9 --- /dev/null +++ b/site/layouts/_default/redirect.html @@ -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> |
