diff options
| author | Mark Otto <[email protected]> | 2015-08-08 14:20:38 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-08-08 14:20:38 -0700 |
| commit | ee747f4adfeb80497c0896fbaab4f2c3e2b2a88b (patch) | |
| tree | 9ee593782ba68da788a3f782e70f7c003cdd1d21 | |
| parent | 7c3f5b6d59a3479c92cd85b2a1f72a3c6a346743 (diff) | |
| download | bootstrap-ee747f4adfeb80497c0896fbaab4f2c3e2b2a88b.tar.xz bootstrap-ee747f4adfeb80497c0896fbaab4f2c3e2b2a88b.zip | |
tweak getting started quickstart docs
| -rw-r--r-- | docs/getting-started/overview.md | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/docs/getting-started/overview.md b/docs/getting-started/overview.md index 84dc5c712..88884f2e6 100644 --- a/docs/getting-started/overview.md +++ b/docs/getting-started/overview.md @@ -1,30 +1,26 @@ --- layout: page -title: Start using Bootstrap +title: Quick start group: getting-started --- -Quickly add Bootstrap to your project via the Bootstrap CDN, graciously provided by the MaxCDN folks. +Looking to quickly add Bootstrap to your project? Use the Bootstrap CDN, graciously provided by the MaxCDN folks. -## Include CSS and JS - -Copy-paste the stylesheet `<link>` into your `<head>` before all other stylesheets. - -<div class="alert alert-warning"> - <strong>Heads up!</strong> Much of this page will be inaccurate during the v4 alpha releases. -</div> +Copy-paste the stylesheet `<link>` into your `<head>` before all other stylesheets to load our CSS. {% highlight html %} <link rel="stylesheet" href="{{ site.cdn.css }}"> {% endhighlight %} -Then, add the Bootstrap JavaScript—and jQuery—near the end of your pages. It's best placed right before the closing `</body>` tag. Be sure to place jQuery first as our code depends on it. +Add our JavaScript plugins and jQuery near the end of your pages, right before the closing `</body>` tag. Be sure to place jQuery first as our code depends on it. {% highlight html %} <script src="{{ site.cdn.jquery }}"></script> <script src="{{ site.cdn.js }}"></script> {% endhighlight %} +And that's it—you're your way to a fully Bootstrapped site. If you're at all unsure about the general page structure, keep reading for an example page template. + ## Page template Be sure to have your pages set up with the latest design and development standards. That means: @@ -40,16 +36,18 @@ Put it all together and your pages should look like this: <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta http-equiv="x-ua-compatible" content="ie=edge"> + <!-- Bootstrap CSS --> <link rel="stylesheet" href="{{ site.cdn.css }}"> </head> <body> <h1>Hello, world!</h1> + <!-- jQuery first, then Bootstrap JS. --> <script src="{{ site.cdn.jquery }}"></script> <script src="{{ site.cdn.js }}"></script> </body> </html> {% endhighlight %} -And that's it. Happy Bootstrapping! +That's all you need for overall page requirements. Visit the [Layout docs]({{ site.baseurl }}/layout/scaffolding) to start laying out your site's content before adding components. |
