diff --git a/_config.yml b/_config.yml index 439bf865c9..eb6ff13a09 100644 --- a/_config.yml +++ b/_config.yml @@ -18,6 +18,9 @@ url: http://getbootstrap.com encoding: UTF-8 exclude: [assets/scss/] +gems: + - jekyll-redirect-from + # Custom vars current_version: 4.0.0-alpha repo: https://github.com/twbs/bootstrap diff --git a/docs/about/history.md b/docs/about/history.md index 79e854c43a..ae4764ee73 100644 --- a/docs/about/history.md +++ b/docs/about/history.md @@ -2,6 +2,7 @@ layout: docs title: History group: about +redirect_from: "/about/" --- Originally created by a designer and a developer at Twitter, Bootstrap has become one of the most popular front-end frameworks and open source projects in the world. diff --git a/docs/components/buttons.md b/docs/components/buttons.md index 2fd8de07d3..708a4870c0 100644 --- a/docs/components/buttons.md +++ b/docs/components/buttons.md @@ -2,6 +2,7 @@ layout: docs title: Buttons group: components +redirect_from: "/components/" --- Use Bootstrap's custom button styles for actions in forms, dialogs, and more. Includes support for a handful of contextual variations, sizes, states, and more. diff --git a/docs/content/reboot.md b/docs/content/reboot.md index 4df53b7a1e..7418c4116b 100644 --- a/docs/content/reboot.md +++ b/docs/content/reboot.md @@ -2,6 +2,7 @@ layout: docs title: Reboot group: content +redirect_from: "/content/" --- Part of Bootstrap's job is to provide an elegant, consistent, and simple baseline to build upon. We use Reboot, a collection of element-specific CSS changes in a single file, to kickstart that. diff --git a/docs/getting-started/introduction.md b/docs/getting-started/introduction.md index a03993b8d2..f5e650caee 100644 --- a/docs/getting-started/introduction.md +++ b/docs/getting-started/introduction.md @@ -2,6 +2,7 @@ layout: docs title: Introduction group: getting-started +redirect_from: "/getting-started/" --- Bootstrap is the world's most popular framework for building responsive, mobile-first sites and applications. Inside you'll find high quality HTML, CSS, and JavaScript to make starting any project easier than ever. diff --git a/docs/layout/overview.md b/docs/layout/overview.md index c3770f95ae..75347e527f 100644 --- a/docs/layout/overview.md +++ b/docs/layout/overview.md @@ -2,6 +2,7 @@ layout: docs title: Overview group: layout +redirect_from: "/layout/" --- Bootstrap includes several components and options for laying out your project, including wrapping containers, a powerful grid system, a flexible media object, and responsive utility classes.