Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Hide ToC if no subheadings #38

Closed
1 task done
thombruce opened this issue Sep 10, 2023 · 1 comment
Closed
1 task done

[Feature]: Hide ToC if no subheadings #38

thombruce opened this issue Sep 10, 2023 · 1 comment
Assignees

Comments

@thombruce
Copy link
Owner

Feature request

If an article has no subheadings but does feature the toc component, presently the "Table of Contents" title is shown despite having no contents to list.

Render this conditionally on the presence of a content list.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@thombruce thombruce added the type: enhancement New feature or request label Sep 10, 2023
@thombruce thombruce self-assigned this Sep 10, 2023
@thombruce
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant