mirror of
https://github.com/danog/sass-site.git
synced 2024-12-17 03:47:17 +01:00
26a515c3a9
* [docNav] Moved h3 title into nav wrapper * [docNav] Init styles for doc navigation component * [docNav] Import doc navigation component into sass.css.scss * [docNav] Functional to make doc navigation sticky on scroll * [docNav] Rename js class name and changed from single to double quotes * [docNav] Change class name to sl-js-nav--is-sticky * [docNav] renamed doc-navigation to navigation and removed nesting * [docNav] renamed doc-navigation to navigation * [docNav] Added carriage return after h3
14 lines
404 B
Plaintext
14 lines
404 B
Plaintext
= wrap_layout :has_both_sidebars do
|
|
=yield
|
|
|
|
- content_for :navigation do
|
|
= partial "layouts/components/reference_table_of_contents"
|
|
|
|
- if current_page.data.table_of_contents
|
|
- content_for :complementary do
|
|
|
|
%nav.page-sections.sl-c-list-navigation-wrapper.sl-c-list-navigation-wrapper--collapsible
|
|
%h3 Page Sections
|
|
|
|
= current_page.metadata[:table_of_contents]
|