sass-site/old_source/layouts/section_reference.haml
2023-01-06 17:37:45 -05:00

14 lines
451 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(aria-labelledby='page-sections')
%h3#page-sections Page Sections
= current_page.metadata[:table_of_contents]