mdzk-rs / mdzk

General-purpose interface to connected notes

Home Page:https://mdzk.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom folder representatives

lucasew opened this issue · comments

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.

Currently we use README.md to represent the folder.

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?

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

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

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