Latest Macro Help
Usage: Latest({page_regex}[,title])
Arguments:
- page_regex - the regular expression indicating the pages names to consider
- title (optional) - use a timestamp in the title (page name) for comparisons
Examples:
Ex1: {{Latest(Rock_.*))}}
would find all pages with the prefix 'Rock_', and find the one with the latest filesystem modification date, and include it in the page output.
Ex2: {{Latest(Test_Results_.*, title)}}
would find all pages with the prefix 'Test_Results_', and find the one with the latest timestamp in the page name, and include it in the page output.
The timestamp used for comparison will be parsed from the page name. The timestamp of the form: YYYY-MM-DD_hh:mm:ss.
Back to page: System_Info