From: XhmikosR Date: Mon, 11 Feb 2019 19:52:52 +0000 (+0200) Subject: Work around the docs/ redirects. X-Git-Tag: v5.0.0-alpha1~1208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d948a3f9cba042ab30a6e2d9083d93707b56feac;p=thirdparty%2Fbootstrap.git Work around the docs/ redirects. This happens because we have the section kind enabled (needed for examples). --- diff --git a/site/content/docs/4.3/_index.html b/site/content/docs/4.3/_index.html new file mode 100644 index 0000000000..9f56983c15 --- /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 438be1ea8c..7e32385f94 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 0000000000..9f56983c15 --- /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 0000000000..2cd10f9d95 --- /dev/null +++ b/site/layouts/_default/redirect.html @@ -0,0 +1,11 @@ + + + + + + {{ .Page.Params.redirect | absURL }} + + + + +