hinode
hinode copied to clipboard
[BUG] `includeToc: true` does not include a ToC
Describe the bug
When toc: false is set globally, setting includeToc: true in a content page frontmatter does not include a ToC.
To reproduce
Steps to reproduce the behavior:
- Set
toc: falseglobally - Set
includeToc: truein a page frontmatter
Expected behavior
When toc: false is set globally, setting includeToc: true includes a ToC on the page.
Host environment
Please complete the following information where applicable.
- Hinode version: 0.23.4
Hugo environment
GOOS="linux"
GOARCH="amd64"
GOVERSION="go1.21.8"
github.com/sass/libsass="3.6.5"
github.com/webmproject/libwebp="v1.3.2"