3 ms·
Hugo is a fantastic tool and I would choose it again. However there is a little annoying bug for years: If you let Hugo create a table of contents it adds an un
by cryptos 8y ago
Hugo is a fantastic tool and I would choose it again. However there is a little annoying bug for years: If you let Hugo create a table of contents it adds an unnecessary level of nesting, if the highest level of content headings is h2. This is pretty common if you use h1 for the page title (that shouldn't be repeated in the table of contents).
But besides that Hugo is a feature rich, fast and easy to install tool.
- otterpro 8y agoI don't know if this is the same issue, but there is a workaround in https://github.com/gohugoio/hugo/issues/1778 https://github.com/gohugoio/hugo/issues/1778. The TOC had been driving me crazy, and I had just learned to live with it for now, but I think the workaround can address some of the issue.