Skip to content

Commit b004c9a

Browse files
committed
Rename and organize nav partials for cleaner file structure
1 parent b7ab799 commit b004c9a

File tree

10 files changed

+9
-9
lines changed

10 files changed

+9
-9
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/_layouts/default.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
99

1010
<!-- Docs master nav -->
11-
{% include nav-main.html %}
11+
{% include nav/main.html %}
1212

1313
<!-- Docs page layout -->
1414
<div class="bs-docs-header" id="content">
@@ -29,19 +29,19 @@ <h1>{{ page.title }}</h1>
2929
<div class="bs-docs-sidebar hidden-print" role="complementary">
3030
<ul class="nav bs-docs-sidenav">
3131
{% if page.slug == "getting-started" %}
32-
{% include nav-getting-started.html %}
32+
{% include nav/getting-started.html %}
3333
{% elsif page.slug == "css" %}
34-
{% include nav-css.html %}
34+
{% include nav/css.html %}
3535
{% elsif page.slug == "components" %}
36-
{% include nav-components.html %}
36+
{% include nav/components.html %}
3737
{% elsif page.slug == "js" %}
38-
{% include nav-javascript.html %}
38+
{% include nav/javascript.html %}
3939
{% elsif page.slug == "customize" %}
40-
{% include nav-customize.html %}
40+
{% include nav/customize.html %}
4141
{% elsif page.slug == "about" %}
42-
{% include nav-about.html %}
42+
{% include nav/about.html %}
4343
{% elsif page.slug == "migration" %}
44-
{% include nav-migration.html %}
44+
{% include nav/migration.html %}
4545
{% endif %}
4646
</ul>
4747
<a class="back-to-top" href="#top">

docs/_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
99

1010
<!-- Docs master nav -->
11-
{% include nav-main.html %}
11+
{% include nav/main.html %}
1212

1313
<!-- Page content of course! -->
1414
{{ content }}

0 commit comments

Comments
 (0)