The patterns on this page are designed for use with our Table of Contents extension, but can be used as standalone micro-templates.
Within page content
Collapsible
Within sidebar
Our themes offer the ability to present table of contents elements in a left or right-hand sidebar using theme settings. Sidebar elements appear on larger screen sizes, stick to the top of the page when a visitor scrolls and automatically highlight the active section of the page.
On the Article page
Our themes allow you to display table of contents elements on the Article page within article content or in a left or right-hand sidebar.
You can add one of several built-in styles using the Table of Contents setting in the Article page elements setting group. Most themes have 4 or 5 built-in styles.
Custom patterns can be added into a theme by copying-and-pasting the pattern code into the bottom of the Article page template (article_page.hbs
).
If you’re planning to use a custom sidebar pattern, ensure that you select the “In sidebar (left)” or “In sidebar (right)” option in the Table of Contents setting.