Compile a ListPages template string into an executable function.
The template is split into alternating static strings and dynamic getter
functions. The returned function concatenates these parts with the getter
functions evaluated against the provided variable context.
Parameters
template: string
The template string containing %%variable%% placeholders
Compile a ListPages template string into an executable function.
The template is split into alternating static strings and dynamic getter functions. The returned function concatenates these parts with the getter functions evaluated against the provided variable context.