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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

81 views 2 3
Join discussion

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