wdpr
    Preparing search index...
    • 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

      Returns CompiledTemplate

      A compiled function that accepts a VariableContext and returns the rendered string