mirror of
https://github.com/danog/sass-site.git
synced 2024-12-15 10:57:24 +01:00
11 lines
312 B
Plaintext
11 lines
312 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.sl-c-list-navigation-wrapper
|
|
= current_page.metadata[:table_of_contents]
|