From: XhmikosR Date: Sun, 10 Feb 2019 11:41:34 +0000 (+0200) Subject: Fix redirects. X-Git-Tag: v3.4.1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=695c54183f15a86e78ae455cabadae10ce192bee;p=thirdparty%2Fbootstrap.git Fix redirects. * Actually include the jekyll-redirect-from plugin * We handle the removed ones in docs latest version, apart from the 3.3 customizer redirect. --- diff --git a/_config.yml b/_config.yml index af72a491c4..da6870ed5d 100644 --- a/_config.yml +++ b/_config.yml @@ -17,6 +17,7 @@ exclude: - assets/less/ plugins: + - jekyll-redirect-from - jekyll-sitemap # Custom vars diff --git a/docs/css.html b/docs/css.html index 7cd1abce36..baefd6526b 100644 --- a/docs/css.html +++ b/docs/css.html @@ -3,7 +3,6 @@ layout: default title: CSS slug: css lead: "Global CSS settings, fundamental HTML elements styled and enhanced with extensible classes, and an advanced grid system." -redirect_from: "/css/" --- diff --git a/docs/customize.html b/docs/customize.html index b184603d68..c4d781ee17 100644 --- a/docs/customize.html +++ b/docs/customize.html @@ -3,7 +3,7 @@ layout: default title: Customize and download slug: customize lead: Customize Bootstrap's components, Less variables, and jQuery plugins to get your very own version. Requires IE9+ or latest Safari, Chrome, or Firefox. -redirect_from: "/customize/" +redirect_from: "/docs/3.3/customize/" --- diff --git a/docs/javascript.html b/docs/javascript.html index d00f2ed5ec..e49c799167 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -3,7 +3,6 @@ layout: default title: JavaScript slug: js lead: "Bring Bootstrap's components to life with over a dozen custom jQuery plugins. Easily include them all, or one by one." -redirect_from: "/javascript/" ---