How do I create a Table of Contents for a Lepiter database?

A ToC is simple an ordinary Lepiter Note containing links to other pages, possibly indented to give it some structure. Just create a new page, inspect it, and click on the ToC button.

Below we are inspecting the ToC for this (GT book) database, showing the ToC button.