Table of contents
The Default and Header templates can show a table of contents on posts and pages. It uses H2 headings in the article text, outside editor cards.
Step-by-Step- Go to the 'Design & branding' settings in the Ghost Admin.
- Open the 'Theme' tab and go to the 'Post' section.
- Turn on 'Show table of contents' to enable it across posts.
- Click 'Save' to activate.
- Open the post or page in the editor and add an H2 heading for each section you want to include.
- In the settings panel, add the internal tag
#tocunder 'Tags'. - Publish or update the post or page.
Type at least 2 characters to search