How to disable TOC (Table of Content) on existing page?

Hello,

I try to disable TOC especially on my home page. But I didn’t find something relevant.

I also can’t figure out how to avoid creating a TOC on pages created with my own template.

Thanks for you help.

You can set a page decoration to disable it.

Example: Page Decorations

Awesome, it was so simple thanks you.

Consequently, if I also want to disable TOC on the pages created by my templates AND on my template page.

I need to add pageDecoration twice. Once for the frontmatter that will be created at the creation of the page and another one for the current template.

With something like this :

---
description: "Create a quick Meeting Page"
tags: template
frontmatter: 
  tags: 
    - meeting
  customer:
  date: "{{today}}"
  pageDecoration:
    disableTOC: 'true'
hooks.newPage:
  suggestedName: "Boulot/Meeting/CUSTOMER-{{today}}"
pageDecoration:
  disableTOC: 'true'
---