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
Accepted answer

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
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

503 views 3 18
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