Skip to content

Feature Request: Add a macro for the automatic section page list #1063

@bootnihil

Description

@bootnihil

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogThe card is in backlog and not planned for a release yetenhancementNew feature or requestuser-feedback

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions