Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Table of Contents - Include Page Contents not included

Dan Bell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 1, 2025

In the Cloud Wiki, it appears as though when you use the include element, the table of contents in the parent page does not show the headers from the included page.

 

Note in example below,  I added a TOC to a Parent Page, Only Displaying Headers from 1 to 2.  I added a Header 1 and Header 2 on the Parent page. I then created a child page and added Header 1 and Header 2. I added an Include of the Child Page on the Parent Page under the Header 2 on Parent Page. Note that the TOC only shows the Parent Page Headers.

 

Screenshot 2025-05-01 091950.png

Old 4.2.6 version of the wiki did not have this issue. See below.

 

Screenshot 2025-05-01 092332.png

This is a huge step backwards when you have many child pages that you want included on a parent page.

Does anyone know if Atlassian will fix this?

1 answer

1 vote
Kristian Klima
Community Champion
May 2, 2025

Hi @Dan Bell and welcome to the Community.

One of the solutions is to put the content of the entire page into the Table of Contents Zone macro.

The content from the red 'highlight' comes from an included page.

2025-05-02_09-11-49.png

 

(As a content person - I'd avoid using H1 in the actual body of a Confluence page and reserved H1 to page titles)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events