# Table of content

**URL:** <https://community.silverfin.com/t/table-of-content/104>\
**Category:** Templates\
**Created:** [March 3, 2017, 10:32am UTC](https://community.silverfin.com/t/table-of-content/104 "2017-03-03T10:32:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marnixcoudre](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@marnixcoudre](https://community.silverfin.com/u/marnixcoudre)\
**Post date:** [March 3, 2017, 10:32am UTC](https://community.silverfin.com/t/table-of-content/104/1 "2017-03-03T10:32:39Z")

</div>

Dear,

```auto
I have created a table of content with following code:
|:--80%--------------------------------------------------------|------------------------------------------------------------------:+{% for toc in export.toc %}{% assign title = toc.title%}{% if title == "title1" %}
|[<font size ="16">{% t "Title1" %}</font>](#{{toc.anchor}}) | [<font size ="16">{{ toc.number }}</font>](#{{toc.anchor}})

```

…

Now I want to create a second table of content so I split my document into two and use two table titles but if I create this table (code below) I Always get an error for the code {% for toc in export.toc %}. If I delete {% for toc in export.toc %} in my second table then it doesn’t display my page number anymore.

```auto
|:--80%--------------------------------------------------------|------------------------------------------------------------------:+{% for toc in export.toc %}{% assign title = toc.title%}{% if title == "title2" %}
|[<font size ="16">{% t "Title2" %}</font>](#{{toc.anchor}}) | [<font size ="16">{{ toc.number }}</font>](#{{toc.anchor}})

```

Can anyone helps me with this matter?

Thanks

---

<div class="post-metadata">

**Author:** ![michail](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/michail/32/8_2.png) [@michail](https://community.silverfin.com/u/michail)\
**Post date:** [March 3, 2017, 10:54am UTC](https://community.silverfin.com/t/table-of-content/104/2 "2017-03-03T10:54:04Z")

</div>

Hello @marnixcoudre,

Two different types of content are not possible but maybe you want to create one table of content but the attachments displayed in a different way?

Regards,  
Michail

---

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [May 4, 2017, 7:37pm UTC](https://community.silverfin.com/t/table-of-content/104/3 "2017-05-04T19:37:59Z")

</div>

Closed on May 4, 2017, 7:37pm UTC


