sass-site/source/layouts/section_reference.haml

13 lines
393 B
Plaintext
Raw Normal View History

2018-12-28 02:02:45 +01:00
= wrap_layout :has_both_sidebars do
2018-10-22 23:13:05 +02:00
=yield
2018-08-11 01:39:18 +02:00
2018-10-24 00:06:39 +02:00
- content_for :navigation do
2018-10-22 23:13:05 +02:00
= partial "layouts/components/reference_table_of_contents"
2018-12-28 02:02:45 +01:00
2018-12-28 02:19:19 +01:00
- if current_page.data.table_of_contents
- content_for :complementary do
2018-12-29 00:04:28 +01:00
%h3 Page Sections
%nav.page-sections.sl-c-list-navigation-wrapper.sl-c-list-navigation-wrapper--collapsible
= current_page.metadata[:table_of_contents]