mirror of
https://github.com/danog/sass-site.git
synced 2025-01-22 05:41:42 +01:00
add headings to navs
This commit is contained in:
parent
25a40e45f9
commit
5c23b769eb
@ -1,3 +1,5 @@
|
|||||||
|
%h3 Contents
|
||||||
|
|
||||||
%nav.table-of-contents.sl-c-list-navigation-wrapper
|
%nav.table-of-contents.sl-c-list-navigation-wrapper
|
||||||
:markdown
|
:markdown
|
||||||
* [Reference](/documentation)
|
* [Reference](/documentation)
|
||||||
|
@ -6,5 +6,7 @@
|
|||||||
|
|
||||||
- if current_page.data.table_of_contents
|
- if current_page.data.table_of_contents
|
||||||
- content_for :complementary do
|
- content_for :complementary do
|
||||||
|
%h3 Page Sections
|
||||||
|
|
||||||
%nav.sl-c-list-navigation-wrapper
|
%nav.sl-c-list-navigation-wrapper
|
||||||
= current_page.metadata[:table_of_contents]
|
= current_page.metadata[:table_of_contents]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user