Table of content
List all the HTML pages that you want to index and build links from the pages titles and URLs:
<ul> <li py:sub="for chapter in directory.list('chapter*.htm')"> <a href="chapterx.htm" py:attr="chapter.url" py:sub="chapter.title">chapter</a> </li> </ul>