From 695c54183f15a86e78ae455cabadae10ce192bee Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 10 Feb 2019 13:41:34 +0200 Subject: [PATCH] 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. --- _config.yml | 1 + docs/css.html | 1 - docs/customize.html | 2 +- docs/javascript.html | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) 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/" --- -- 2.47.2