add headings to navs

This commit is contained in:
Jina Anne 2018-12-28 15:04:28 -08:00
parent 25a40e45f9
commit 5c23b769eb
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
%h3 Contents
%nav.table-of-contents.sl-c-list-navigation-wrapper
:markdown
* [Reference](/documentation)

View File

@ -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]