# TOC on FAQ page?

**URL:** https://meta.discourse.org/t/toc-on-faq-page/254674
**Category:** Support
**Created:** [February 9, 2023, 8:05pm UTC](https://meta.discourse.org/t/toc-on-faq-page/254674 "2023-02-09T20:05:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)
#### Post date: [February 9, 2023, 8:05pm UTC](https://meta.discourse.org/t/toc-on-faq-page/254674/1 "2023-02-09T20:05:21Z")

</div>

Hello team, is it possible to add TOC on `/faq` page?

I’ve already added the TOC component and on the main “faq” topic I see the table of contents, BUT when I go to `myforum.com/faq` the toc dissappears.

Could it be because the initial topic is in a private category and when discourse calls /faq it brings it up without TOC? 🤔

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [February 9, 2023, 11:44pm UTC](https://meta.discourse.org/t/toc-on-faq-page/254674/2 "2023-02-09T23:44:06Z")

</div>

This isn’t possible, TOC isn’t compatible with published pages:

> [@DiscoTOC - automatic table of contents](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/340):
>
> There are currently no plans to support published pages. It is supported alongside the docs plugin.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [February 10, 2023, 9:17pm UTC](https://meta.discourse.org/t/toc-on-faq-page/254674/3 "2023-02-10T21:17:12Z")

</div>

Hi SidV!

There is a workaround.

Change the FAQ URL from your site settings:

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/7/7/977575dfcb5c5b16d0c17c82090689f64ec0cc20.png)

If you want the page to appear different from a regular topic, you can check out this neat trick:

> [@Page Publishing](https://meta.discourse.org/t/page-publishing/151971/145):
>
> An alternative to Page Publishing - another method is to use CSS to remove the unwanted elements on a regular Topic Post, while preserving all of the functionality (i.e. Javascripts in installed Theme Components, and CSS styling, etc.) Tags in the composer can be used to selectively apply formatting to a specific Topic Post. For example, on my site I achieve this by pasting the following CSS into my theme’s CSS in the Common tab: /\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* REMOVE THINGS FROM LAYOUT USING TAGS \*\*…

You can make a regular topic look like a “standalone” page, on which components and plugins will be loaded. 🙂

---

<div class="post-metadata">

### Author: ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)
#### Post date: [February 10, 2023, 9:25pm UTC](https://meta.discourse.org/t/toc-on-faq-page/254674/4 "2023-02-10T21:25:45Z")

</div>

> [@Canapin](#):
>
> There is a workaround.

Wow ! Thanks for this !! 👏

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 12, 2023, 9:26pm UTC](https://meta.discourse.org/t/toc-on-faq-page/254674/5 "2023-03-12T21:26:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
