Skip to content

Table of Content not showing h1 tags # #217

Answered by jpanther
schadokar asked this question in Q&A
Discussion options

You must be logged in to vote

The tables of contents follow standard Hugo TOC configuration parameters. By default, these display headings at levels 2 through 4. If you want to change this behaviour, adjust the values in the config/_default/markup.toml file. In your case you'll need to set startLevel to 1.

[tableOfContents]
  startLevel = 1
  endLevel = 4

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by schadokar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants