mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Rename and organize nav partials for cleaner file structure
This commit is contained in:
parent
b7ab799824
commit
b004c9ac39
10 changed files with 9 additions and 9 deletions
|
@ -8,7 +8,7 @@
|
|||
<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
|
||||
|
||||
<!-- Docs master nav -->
|
||||
{% include nav-main.html %}
|
||||
{% include nav/main.html %}
|
||||
|
||||
<!-- Docs page layout -->
|
||||
<div class="bs-docs-header" id="content">
|
||||
|
@ -29,19 +29,19 @@
|
|||
<div class="bs-docs-sidebar hidden-print" role="complementary">
|
||||
<ul class="nav bs-docs-sidenav">
|
||||
{% if page.slug == "getting-started" %}
|
||||
{% include nav-getting-started.html %}
|
||||
{% include nav/getting-started.html %}
|
||||
{% elsif page.slug == "css" %}
|
||||
{% include nav-css.html %}
|
||||
{% include nav/css.html %}
|
||||
{% elsif page.slug == "components" %}
|
||||
{% include nav-components.html %}
|
||||
{% include nav/components.html %}
|
||||
{% elsif page.slug == "js" %}
|
||||
{% include nav-javascript.html %}
|
||||
{% include nav/javascript.html %}
|
||||
{% elsif page.slug == "customize" %}
|
||||
{% include nav-customize.html %}
|
||||
{% include nav/customize.html %}
|
||||
{% elsif page.slug == "about" %}
|
||||
{% include nav-about.html %}
|
||||
{% include nav/about.html %}
|
||||
{% elsif page.slug == "migration" %}
|
||||
{% include nav-migration.html %}
|
||||
{% include nav/migration.html %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
<a class="back-to-top" href="#top">
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
|
||||
|
||||
<!-- Docs master nav -->
|
||||
{% include nav-main.html %}
|
||||
{% include nav/main.html %}
|
||||
|
||||
<!-- Page content of course! -->
|
||||
{{ content }}
|
||||
|
|
Loading…
Reference in a new issue