{% unless page.url == "/" %} - {% if page.parent != nil and page.parent != page.title %} + {% if page.parent %} diff --git a/_sass/navigation.scss b/_sass/navigation.scss index 0a5fb7d..12dedbd 100644 --- a/_sass/navigation.scss +++ b/_sass/navigation.scss @@ -64,6 +64,16 @@ @include mq(md) { @include fs-3; } + + .navigation-list-child-list { + display: none; + } + + &.active { + .navigation-list-child-list { + display: block; + } + } } .navigation-list-link { diff --git a/docs/ui-components/ui-components.md b/docs/ui-components/ui-components.md index 00e34b8..56ecf9e 100644 --- a/docs/ui-components/ui-components.md +++ b/docs/ui-components/ui-components.md @@ -1,10 +1,9 @@ --- layout: default -title: UI Components +title: "UI Components" nav_order: 3 has_children: true -parent: UI Components -permalink: /ui-components +permalink: /docs/ui-components --- # UI Components diff --git a/docs/utilities/layout.md b/docs/utilities/layout.md index 33f4951..a1b564e 100644 --- a/docs/utilities/layout.md +++ b/docs/utilities/layout.md @@ -3,6 +3,7 @@ layout: default title: Layout nav_order: 2 parent: Utilities +has_children: true --- # Layout Utilities diff --git a/docs/utilities/utilities.md b/docs/utilities/utilities.md index 58cdf01..b368337 100644 --- a/docs/utilities/utilities.md +++ b/docs/utilities/utilities.md @@ -2,9 +2,8 @@ layout: default title: Utilities nav_order: 4 -parent: Utilities has_children: true -permalink: /utilities +permalink: docs/utilities --- # Utilities