mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #17389 from Gupocca/link-fixing
Fix several erroneous links in docs.
This commit is contained in:
commit
5d5398afdb
8 changed files with 9 additions and 10 deletions
|
@ -24,7 +24,7 @@
|
|||
<script src="{{ site.baseurl }}/assets/js/ie-emulation-modes-warning.js"></script>
|
||||
|
||||
<!-- Favicons -->
|
||||
<link rel="apple-touch-icon-precomposed" href="{{ site.baseurl }}/apple-touch-icon-precomposed.png">
|
||||
<link rel="apple-touch-icon" href="{{ site.baseurl }}/apple-touch-icon.png">
|
||||
<link rel="icon" href="{{ site.baseurl }}/favicon.ico">
|
||||
|
||||
<script>
|
||||
|
|
|
@ -16,7 +16,6 @@ The navbar is a simple wrapper for positioning branding, navigation, and other e
|
|||
Here's what you need to know before getting started with the navbar:
|
||||
|
||||
- Navbars require a wrapping `.navbar` and a color scheme class (either `.navbar-default` or `.navbar-inverse`).
|
||||
- When using multiple components in a navbar, some [alignment classes](#alignment) are required.
|
||||
- Navbars and their contents are fluid by default. Use [optional containers](#containers) to limit their horizontal width.
|
||||
- Use `.pull-left` and `.pull-right` to quickly align sub-components.
|
||||
- Ensure accessibility by using a `<nav>` element or, if using a more generic element such as a `<div>`, add a `role="navigation"` to every navbar to explicitly identify it as a landmark region for users of assistive technologies.
|
||||
|
|
|
@ -34,7 +34,7 @@ Examples that focus on implementing uses of built-in components provided by Boot
|
|||
<p>Build around the jumbotron with a navbar and some basic grid columns.</p>
|
||||
</div>
|
||||
<div class="col-xs-6 col-md-4">
|
||||
<a href="{{ site.baseurl }}/examples/jumbotron-narrow/">
|
||||
<a href="{{ site.baseurl }}/examples/narrow-jumbotron/">
|
||||
<img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/jumbotron-narrow.jpg" alt="">
|
||||
</a>
|
||||
<h4>Narrow jumbotron</h4>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<h1>Navbar example</h1>
|
||||
<p>This example is a quick exercise to illustrate how the default navbar works. It's placed within a <code>.container</code> to limit its width and will scroll with the rest of the page's content.</p>
|
||||
<p>
|
||||
<a class="btn btn-lg btn-primary" href="../../components/#navbar" role="button">View navbar docs »</a>
|
||||
<a class="btn btn-lg btn-primary" href="../../components/navbar" role="button">View navbar docs »</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
<div id="navbar" class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="active"><a href="#">Home</a></li>
|
||||
<li><a href="#about">About</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
<li><a href="#">About</a></li>
|
||||
<li><a href="#">Contact</a></li>
|
||||
</ul>
|
||||
</div><!-- /.nav-collapse -->
|
||||
</div><!-- /.container -->
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
<div id="navbar" class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="active"><a href="#">Home</a></li>
|
||||
<li><a href="#about">About</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
<li><a href="#">About</a></li>
|
||||
<li><a href="#">Contact</a></li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown</a>
|
||||
<div class="dropdown-menu">
|
||||
|
|
|
@ -65,7 +65,7 @@ Put it all together and your pages should look like this:
|
|||
</html>
|
||||
{% endhighlight %}
|
||||
|
||||
That's all you need for overall page requirements. Visit the [Layout docs]({{ site.baseurl }}/layout/scaffolding) or [our official examples]({{ site.baseurl }}/examples/) to start laying out your site's content and components.
|
||||
That's all you need for overall page requirements. Visit the [Layout docs]({{ site.baseurl }}/layout/overview) or [our official examples]({{ site.baseurl }}/examples/) to start laying out your site's content and components.
|
||||
|
||||
## Important globals
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ title: Bootstrap · The world's most popular mobile-first and responsive f
|
|||
<div class="bd-featurette">
|
||||
<div class="container">
|
||||
<h2 class="bd-featurette-title">Built with Bootstrap.</h2>
|
||||
<p class="lead">Millions of amazing sites across the web are being built with Bootstrap. Get started on your own with our growing <a href="../getting-started/#examples">collection of examples</a> or by exploring some of our favorites.</p>
|
||||
<p class="lead">Millions of amazing sites across the web are being built with Bootstrap. Get started on your own with our growing <a href="../examples">collection of examples</a> or by exploring some of our favorites.</p>
|
||||
|
||||
<div class="row bd-featured-sites">
|
||||
{% for showcase in site.data.showcase %}
|
||||
|
|
Loading…
Reference in a new issue