Website content is not always suited to being broken up across a number of pages. A table of contents, while being potentially quite long, may be more usable when displayed on a single page. A sidebar can improve the user experience by providing links to allow the user to rapidly navigate around the lengthy content.
In this recipe, we will create a Visualforce template that provides header and footer content to two other Visualforce pages: A TableOfContents page (containing information about all chapters) and a Chapter1 page (containing detailed information about the first chapter). Each page has a sidebar to assist with navigation through the page content. We will then make these pages publicly available via an unauthenticated Force.com site.
This recipe requires that you have already completed the Creating a site recipe, as it relies on the custom domain and Force.com site created in that recipe.