Automatically generate a table of contents with smooth-scroll links based on the page outline. To do so add one of the following to post Front Matter:
toc = true # display collapsed toc = "open" # display expanded
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.