How to set markup/tableOfContents/startLevel for a specific page

I’m using a simple shortcode like

{{ .Page.TableOfContents }}

The config contains the next settings

config.toml

[markup]
  [markup.goldmark]
    [markup.goldmark.renderer]
      unsafe = true
  [markup.tableOfContents]
    startLevel = 3
    endLevel = 4
    ordered = false

All work fine.
Except I need set startLevel = 2 to the home page only.

Is it possible?

No, it is not.

1 Like

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