TOC title shows when TOC is empty

Created on 1 March 2021, almost 4 years ago
Updated 20 September 2023, about 1 year ago

Problem/Motivation

Pages are showing the "Table of contents" title, but there's nothing in the list.

Steps to reproduce

Create a node with no headers that would render the TOC.

Proposed resolution

If there's no TOC content, hide the title. Or make this an option in the configuration.

Remaining tasks

Patch module for this feature.

User interface changes

Add option to hide empty TOC in config form.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024