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

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

Open
JuliaS92 opened this issue Apr 1, 2021 · 0 comments
Open

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

JuliaS92 opened this issue Apr 1, 2021 · 0 comments

Comments

@JuliaS92
Copy link

JuliaS92 commented Apr 1, 2021

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

@Zdzisiu Zdzisiu mentioned this issue Nov 22, 2023
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

1 participant