Write articles

When does an article show a table of contents?

When the article has headings and your theme's Article page includes the Table of contents component. Readers then see an On this page list beside the article and can jump to any section.

Screen recording of a published article. On this page jumps to any section. Export prints the article or adds it to an AI assistant. Readers tell you if it helped.
The On this page list follows the reader down the article.

The list is built from the article's headings, starting at Heading 2. The article title isn't included, and an article without headings shows no list. Use Heading 2 for your main sections and Heading 3 for the parts inside them.

Compass, the default theme, includes the component. To add it, remove it or change it:

  1. Open the Template editor, go to Pages and pick the Article page.

  2. The component lives in the Sidebar or Utility region. Add it there with Add component, or click it to edit it.

  3. In Heading levels, choose how deep the list goes, from Heading 2 only down to Heading 5. Sticky keeps it in view while readers scroll.

  4. Click Publish.

Was this article helpful?

Recent Articles

Articles you view will appear here.

    Comments

    Be the first to comment.

    This is just a preview of the comment. It needs to be approved first in order to appear for everyone.