mirror of
https://github.com/danog/sass-site.git
synced 2025-01-21 21:31:34 +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
|
||||
:markdown
|
||||
* [Reference](/documentation)
|
||||
|
@ -6,5 +6,7 @@
|
||||
|
||||
- if current_page.data.table_of_contents
|
||||
- content_for :complementary do
|
||||
%h3 Page Sections
|
||||
|
||||
%nav.sl-c-list-navigation-wrapper
|
||||
= current_page.metadata[:table_of_contents]
|
||||
|
Loading…
x
Reference in New Issue
Block a user