LeafWiki already creates a nice automatic overview for a section when its index.md is left in the default state. It lists the pages in that section, with links and update info.
The issue is that as soon as index.md is edited, that automatic list is replaced by the custom content. If the file is manually reverted back to the default state, the automatic list comes back.
It would be great to have a Markdown macro that renders that same automatic list inside a custom index.md, for example:
# Homelab
Some custom intro text here.
## Pages
{{section-pages}}
That way, a section landing page could have custom text, notes, pinned links, etc., without losing the automatically updated page list.
Even a simple version that just renders the current default section overview list would already be very useful.
LeafWiki already creates a nice automatic overview for a section when its
index.mdis left in the default state. It lists the pages in that section, with links and update info.The issue is that as soon as index.md is edited, that automatic list is replaced by the custom content. If the file is manually reverted back to the default state, the automatic list comes back.
It would be great to have a Markdown macro that renders that same automatic list inside a custom index.md, for example:
That way, a section landing page could have custom text, notes, pinned links, etc., without losing the automatically updated page list.
Even a simple version that just renders the current default section overview list would already be very useful.