How to exclude TOC in a single post with PaperMod theme

I have in the config.toml the following configuration related to the toc:

showtoc = true
tocopen = true
enableInlineShortcodes = true

I want to exclude TOC only in a single post.
Is there any code to add in the post frontmatter to exclude TOC?

Happy New Year!!

I solved!
Using the PaperMod theme it’s possible to add the shortcut ShowToc: false to avoid publishing TOC.

Best wishes and Happy New Year!

The question, like the solution, depends on the theme used. It would be nice to at least give the name of the topic so that the thread can be useful to others.

Thank you.
I modified the title of the post.

1 Like

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