TOC setting bug
Closed this issue · 2 comments
jnkn6 commented
Describe the bug
Cannot turn off TOC for a blog post when global setting of TOC is on.
Steps to reproduce
- set global TOC setting as true
[params]
toc = true # set to false to disable table of contents 'globally'
- Turn off TOC setting for some post.
+++
title = "About"
toc = false
+++
Expected behavior
Should overwrite global config
hugo-sid commented
Thanks for reporting. I will implement a fix for this.
hugo-sid commented
Please see https://hba.sid.one/posts/table-of-content/ for documentation regarding disabling ToC on certain blog posts.
Feel free to reopen this issue if you encounter any problem.
If this theme has helped you, please consider supporting it.