mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Rename and organize nav partials for cleaner file structure
This commit is contained in:
parent
b7ab799824
commit
b004c9ac39
@ -8,7 +8,7 @@
|
|||||||
<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
|
<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
|
||||||
|
|
||||||
<!-- Docs master nav -->
|
<!-- Docs master nav -->
|
||||||
{% include nav-main.html %}
|
{% include nav/main.html %}
|
||||||
|
|
||||||
<!-- Docs page layout -->
|
<!-- Docs page layout -->
|
||||||
<div class="bs-docs-header" id="content">
|
<div class="bs-docs-header" id="content">
|
||||||
@ -29,19 +29,19 @@
|
|||||||
<div class="bs-docs-sidebar hidden-print" role="complementary">
|
<div class="bs-docs-sidebar hidden-print" role="complementary">
|
||||||
<ul class="nav bs-docs-sidenav">
|
<ul class="nav bs-docs-sidenav">
|
||||||
{% if page.slug == "getting-started" %}
|
{% if page.slug == "getting-started" %}
|
||||||
{% include nav-getting-started.html %}
|
{% include nav/getting-started.html %}
|
||||||
{% elsif page.slug == "css" %}
|
{% elsif page.slug == "css" %}
|
||||||
{% include nav-css.html %}
|
{% include nav/css.html %}
|
||||||
{% elsif page.slug == "components" %}
|
{% elsif page.slug == "components" %}
|
||||||
{% include nav-components.html %}
|
{% include nav/components.html %}
|
||||||
{% elsif page.slug == "js" %}
|
{% elsif page.slug == "js" %}
|
||||||
{% include nav-javascript.html %}
|
{% include nav/javascript.html %}
|
||||||
{% elsif page.slug == "customize" %}
|
{% elsif page.slug == "customize" %}
|
||||||
{% include nav-customize.html %}
|
{% include nav/customize.html %}
|
||||||
{% elsif page.slug == "about" %}
|
{% elsif page.slug == "about" %}
|
||||||
{% include nav-about.html %}
|
{% include nav/about.html %}
|
||||||
{% elsif page.slug == "migration" %}
|
{% elsif page.slug == "migration" %}
|
||||||
{% include nav-migration.html %}
|
{% include nav/migration.html %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
<a class="back-to-top" href="#top">
|
<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>
|
<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
|
||||||
|
|
||||||
<!-- Docs master nav -->
|
<!-- Docs master nav -->
|
||||||
{% include nav-main.html %}
|
{% include nav/main.html %}
|
||||||
|
|
||||||
<!-- Page content of course! -->
|
<!-- Page content of course! -->
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user