I encountered the same behavior and itās not a styling issue. My source Markdown only contains H2's (##'s), and the only H1 is inserted by my single.html layout. The extra, empty bullet is for the āmissingā H1.
It would be nice if you could parameterize TableofContents to indicate what section level headings to consider. For example, the Kramdown converter has a macro that provides this kind of configuration (http://kramdown.gettalong.org/converter/html.html#option-toc-levels).
Question: Why was it designed like that? As has already been pointed out, this places the table of contents inside the single li of an outer table which looks strange to say the least.
This is discussed in endless variations, and the real solution is to provide a proper TOC data structure, so the end user can do whatever he/she wants with it. But since the TOC comes as raw HTML as part of the rendered output from Blackfriday, this is harder than it sounds.
Yes, I see the code for this is in blackfridayās html.go#L754.
Thank you for the vote of confidence, @alexandros, but Iām both new to Go and Hugo, and I wouldnāt know what knock on effect me messing around would have.