hinode icon indicating copy to clipboard operation
hinode copied to clipboard

[BUG] `includeToc: true` does not include a ToC

Open doganulus opened this issue 1 year ago • 0 comments

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:

  1. Set toc: false globally
  2. Set includeToc: true in 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"

doganulus avatar Mar 24 '24 18:03 doganulus