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

Custom folder representatives #53

Closed
lucasew opened this issue Nov 9, 2021 · 5 comments
Closed

Custom folder representatives #53

lucasew opened this issue Nov 9, 2021 · 5 comments

Comments

@lucasew
Copy link

lucasew commented Nov 9, 2021

In Hugo, for example, _index is the markdown folder representative, on GitHub it's README.

The current behaviour raises a warning duplicated page title found: .../_index.md. The current behavior shows _index as a sibling document.

@ratsclub
Copy link
Member

ratsclub commented Nov 9, 2021

Currently we use README.md to represent the folder.

@kmaasrud
Copy link
Member

kmaasrud commented Nov 9, 2021

The current behavior shows _index as a sibling document.

@lucasew I'm not quite sure what you mean here. What does it show _index as a sibling of?

@lucasew
Copy link
Author

lucasew commented Nov 9, 2021

I mean it shows _index as a file not as the folder, if there is an _index file in the folder it should treat the _index as the folder itself. Now the topics that mean folders have no link to a document but should point to these _index files

@ratsclub
Copy link
Member

ratsclub commented Nov 9, 2021

Currently we only support this with README.md files... We could add support to this in the future, though.

@kmaasrud
Copy link
Member

kmaasrud commented Nov 9, 2021

Closing this issue, as the feature is already present with the README pattern.

@kmaasrud kmaasrud closed this as completed Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants