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

_index.md with no title inherits name from folder name #291

Open
Visual-Dawg opened this issue Feb 15, 2024 · 0 comments
Open

_index.md with no title inherits name from folder name #291

Visual-Dawg opened this issue Feb 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Visual-Dawg
Copy link

Feature Description

Currently when an _index.md within a folder has no frontmatter title set, it will not have a title. So the sidebar entry is blank and it shows up as _index in the search results.

Problem/Solution.

While adding a title manually is quite simple, inheriting it in this case from the parent folder makes migrating from other themes who have this feature, like Geekdocs, easier.

Alternatives Considered
Manually setting the title, which is also fine.

@imfing imfing added the enhancement New feature or request label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants