It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Exclude Questions from Table of Contents

Pretty simple question in theory - I have a Table of Contents at the top of a page, some content, and then a Questions macro at the bottom of the page. The Table of Contents automatically includes the Questions in it, so that the Table of Contents gets longer with every question asked. I see that there's an "exclude" section in the Table of Contents properties, is there an easy way to exclude the whole Questions section from the ToC?

1 answer

1 accepted

1 vote
Answer accepted

Hello Jake,

In this case the best approach would be to use a different macro, the Table Of Content Zone: https://confluence.atlassian.com/doc/table-of-content-zone-macro-189890742.html

You can insert it instead of the TOC macro at the top of the page and then cut and paste all content but the questions macro inside it.

Remember to edit the TOC Zone macro and change the location to top so the TOC is only showed at the top of the page.

I hope it helps, Jake.

Best regards,

Eduardo Mallmann
Atlassian Support

Thank you! Worked perfectly. I had assumed that there would be a way to use the Exclude field in the regular Table of Contents - however, using the Table of Contents Macro instead worked as expected.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

101 views 0 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you