Table of Contents
Quickly locate information in longer posts.
Automatically generate a table of contents with smooth-scroll links based on the current page outline. To do so add the following to post Front Matter:
toc = true
Set false
, or simply remove the setting, to disable.
The table of contents will be collapsed under a disclosure on page load. Once the disclosure is expanded the full page outline will be revealed. Selecting an item in the outline will smooth-scroll to the corresponding section, update the browser history and highlight the section title.