Skip to content

macro interpretation only works for page ids, not for sections #265

Open

Description

@JuliaS92

Hello dokufreaks,

I struggled a while to find out why this doesn't work:
{{section>meeting:minutes#@WEEK@_@YEAR@}}

The expected behaviour would be to include the section of the current week. Instead the whole page was included because the macros are only applied for pages and not sections, consequently it can't find the correct section to include.

Could you either add _apply_macro for sections too, or add this limitation to the docs?

A workaround would be to have individual wiki pages meeting:minutes:week_year and include them like this:
{{page>meeting:minutes:@WEEK@_@YEAR@}}

Thanks a lot
Julia

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions