You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 20, 2021. It is now read-only.
[BUG] [TOC] Unable to nest heading beyond 2 level #38
The Table of Content (TOC) outlines the headings as written in the markdown / HTML. However, this is only true for up to 2 level nesting. Beyond that, the TOC stops outlining them.
Expected behavior
I expected headings beyond level 2 to be displayed in the TOC.
Screenshots
Source Code:
Output:
Expected Output:
Build Environment
OS: Ubuntu 20.04 LTS
Theme version: 1.3.0 (Latest)
Hugo version: v0.80.0-extended
Preview Environment
OS: Ubuntu 20.04 LTS
Browser: Chromium 88.0.4324.150
Additional Information
I wish the issue ends here, but it's not. It creates another problem if you insist on nesting heading beyond 2 level. I'll start a new issue for it.
The screenshot is produced from a freshly installed Hugo site, with a freshly installed uBlogger theme.
Activity
[-][TOC] Unable to nest heading beyond 2 level[/-][+][BUG] [TOC] Unable to nest heading beyond 2 level[/+]uPagge commentedon Feb 16, 2021
It has nothing to do with the topic. This is controlled by the Hugo settings.
config.yaml:
farhan443 commentedon Feb 16, 2021
My bad, you absolutely correct. I'm sorry. I should have known.
farhan443 commentedon Feb 16, 2021
Works perfectly, thanks a lot.