Hi Community!
I have a problem with the table of contents (toc) in combination with the Excerpt-Include feature.
I cannot exclude headers of an excerpt-include from a toc.
The structure of my pages is as following.
Structure of page 1:
{
{excerpt}
<h1>P1-Header 1</h1>
<h2>P1-Header 1.1</h2>
<h2>P1-Header 1.2</h2>
{/excerpt}
}
Structure of page 2:
{
{toc}
<h1>P2-Header 1</h1>
<h2>P2-Header 1.1</h2>
{excerpt-include of page 1 /}
<h2>P2-Header 1.2</h2>
}
Result toc of page 2 now looks like:
* P2-Header 1
** P2-Header 1.1
* P1-Header 1
** P1-Header 1.1
** P1-Header 1.2
** P2-Header 1.2
Now I couldn"t find a way to exclude the headers of the Excerpt-Include (page 1) within the toc of page 2.
The result toc which I try to get is:
* P2-Header 1
** P2-Header 1.1
** P2-Header 1.2
Can anyone help me out to find a solution?
We are using Confluence 6.5.1.