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:weekyear and include them like this:
`{{page>meeting:minutes:@WEEK@@YEAR@}}`
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:weekyear and include them like this: `{{page>meeting:minutes:@WEEK@@YEAR@}}`
Thanks a lot Julia